26 lines
475 B
Bash
Executable File
26 lines
475 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
# Test program
|
|
cd "$(dirname "$0")/.."
|
|
./do.sh update
|
|
./do.sh fmt token --all -- --check
|
|
./do.sh build token
|
|
./do.sh clippy token -- --deny=warnings
|
|
./do.sh doc token
|
|
./do.sh test token
|
|
cc token/inc/token.h -o token/target/token.gch
|
|
|
|
# Test js bindings
|
|
cd "$(dirname "$0")/../token/js"
|
|
npm install
|
|
npm run lint
|
|
npm run flow
|
|
tsc module.d.ts
|
|
npm run cluster:localnet
|
|
npm run localnet:update
|
|
npm run localnet:up
|
|
npm run start
|
|
npm run localnet:down
|