mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-12 17:55:33 +00:00
89455e20c1
* deploy aqua * aqua dist deploy
15 lines
441 B
Bash
Executable File
15 lines
441 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FUNC='deploy(tsOracle)'
|
|
INPUT='aqua/dist.aqua'
|
|
DATAPATH='test/deploy.json'
|
|
ADDR='/dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi'
|
|
# IMPORT=
|
|
|
|
if [ -z "$IMPORT" ]
|
|
then
|
|
npm run from:scalajs -- run -f "$FUNC" -i "$INPUT" --data-path "$DATAPATH" --addr "$ADDR"
|
|
else
|
|
npm run from:scalajs -- run -f "$FUNC" -i "$INPUT" --data-path "$DATAPATH" --addr "$ADDR" -m "$IMPORT"
|
|
fi
|