mirror of
https://github.com/fluencelabs/gitbook-docs
synced 2025-04-24 15:32:18 +00:00
aqua-cli to aqua
This commit is contained in:
parent
0912df3a9e
commit
16daed6eb1
@ -119,7 +119,7 @@ Aqua is the proffered language for the Fluence network. It can be used with java
|
|||||||
**Warning: the package requires java to be installed \(it will call "java -jar ... "\)**
|
**Warning: the package requires java to be installed \(it will call "java -jar ... "\)**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install --save-dev @fluencelabs/aqua-cli
|
npm install --save-dev @fluencelabs/aqua
|
||||||
```
|
```
|
||||||
|
|
||||||
We will also need the standard library for the language
|
We will also need the standard library for the language
|
||||||
@ -163,7 +163,7 @@ The aqua code can now be compiled by using the compiler CLI. We suggest adding a
|
|||||||
...
|
...
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"exec": "node -r ts-node/register src/index.ts",
|
"exec": "node -r ts-node/register src/index.ts",
|
||||||
"compile-aqua": "aqua-cli -i ./aqua/ -o ./src/compiled"
|
"compile-aqua": "aqua -i ./aqua/ -o ./src/compiled"
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
@ -114,12 +114,8 @@ $
|
|||||||
|
|
||||||
Aqua is the proffered language for the Fluence network. It can be used with javascript-based environments via npm package.
|
Aqua is the proffered language for the Fluence network. It can be used with javascript-based environments via npm package.
|
||||||
|
|
||||||
{% hint style="warning" %}
|
|
||||||
**The package requires java to be installed as it calls "java -jar ... "**
|
|
||||||
{% endhint %}
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install --save-dev @fluencelabs/aqua-cli
|
npm install --save-dev @fluencelabs/aqua
|
||||||
```
|
```
|
||||||
|
|
||||||
We will also need the standard library for the language
|
We will also need the standard library for the language
|
||||||
@ -163,7 +159,7 @@ The aqua code can now be compiled by using the compiler CLI. We suggest adding a
|
|||||||
...
|
...
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"exec": "node -r ts-node/register src/index.ts",
|
"exec": "node -r ts-node/register src/index.ts",
|
||||||
"compile-aqua": "aqua-cli -i ./aqua/ -o ./src/compiled"
|
"compile-aqua": "aqua -i ./aqua/ -o ./src/compiled"
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user