This package has been deprecated

Author message:

Use Fluence CLI instead (https://github.com/fluencelabs/cli)

@fluencelabs/aqua-cli

0.2.2-221 • Public • Published

Aqua

Aqua is a new-gen language for distributed systems.

Aqua programs are executed on many peers, sequentially or in parallel, forming a single-use coordination network.

Aqua's runtime is heterogeneous: it includes browsers, servers, devices, all involved in solving a single task. Therefore, Aqua scripts are compiled into several targets at once, with AIR and Typescript as a default.

aqua-cli

The package contains a convenience aqua-cli wrapper for usage in npm-based projects.

usage

**Warning: the package requires java to be installed (it will call "java -jar ... ") **

Get the latest package

npm i --save-dev @fluencelabs/aqua-cli

Create a directory for the source files: .aqua and for compiled files: .ts

mkdir aqua compiled

To compile files run:

npx aqua -i ./src/aqua/ -o ./src/compiled

Alternatively the compilation script can be put into scripts section of package.json

...
"scripts": {
    ...
    "compile": "aqua -i ./src/aqua/ -o ./src/compiled"
},
...

and can be started with

npm run compile

references

Readme

Keywords

Package Sidebar

Install

npm i @fluencelabs/aqua-cli

Weekly Downloads

1

Version

0.2.2-221

License

Apache-2.0

Unpacked Size

27.4 MB

Total Files

7

Last publish

Collaborators

  • fluencebot
  • cocomonoid
  • shamsartem
  • folex-fluence
  • diemyst