forked from public-awesome/cw-ics721
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
35 lines (26 loc) · 1.14 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
optimize:
docker run --rm -v "$(pwd)":/code --platform linux/amd64 \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer:0.12.11
# Version of optimize that will run significantly faster on macbooks.
optimize-arm:
docker run --rm -v "$(pwd)":/code --platform linux/arm64 \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer-arm:0.12.11
unit-test:
cargo test
simulation-test: optimize
go test -v ./...
start-local-chains:
./ts-relayer-tests/ci-scripts/wasmd/start.sh & 2>&1
./ts-relayer-tests/ci-scripts/osmosis/start.sh & 2>&1
stop-local-chains:
./ts-relayer-tests/ci-scripts/wasmd/stop.sh
./ts-relayer-tests/ci-scripts/osmosis/stop.sh
integration-test:
npm i --prefix ts-relayer-tests && npm run full-test --prefix ts-relayer-tests
test: unit-test simulation-test integration-test
lint:
cargo +nightly clippy --all-targets -- -D warnings