Skip to content

Commit ab868db

Browse files
committed
Simplify justfile.
1 parent 1250aa1 commit ab868db

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

justfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ stop_monitoring:
8585
docker compose -f docker-compose.metrics.yml down
8686

8787
run_demo *ARGS:
88-
./scripts/run-timeboost-demo {{ARGS}}
88+
scripts/run-timeboost-demo {{ARGS}}
8989

9090
run_sailfish_demo *ARGS:
91-
./scripts/run-sailfish-demo {{ARGS}}
91+
scripts/run-sailfish-demo {{ARGS}}
9292

9393
run *ARGS:
9494
cargo run {{ARGS}}
@@ -156,32 +156,32 @@ test-contracts: build-contracts
156156
test_ci *ARGS: build-port-alloc
157157
env {{LOG_LEVELS}} NO_COLOR=1 target/release/run \
158158
--spawn target/release/port-alloc \
159-
-- cargo nextest run --workspace {{ARGS}}
159+
cargo nextest run -- --workspace {{ARGS}}
160160
env {{LOG_LEVELS}} NO_COLOR=1 cargo test --doc {{ARGS}}
161161

162162
test-individually: build-port-alloc
163163
@for pkg in $(cargo metadata --no-deps --format-version 1 | jq -r '.packages[].name'); do \
164164
echo "Testing $pkg"; \
165-
target/release/run \
165+
$(target/release/run \
166166
--spawn target/release/port-alloc \
167-
-- cargo nextest run --no-tests=pass -p $pkg || exit 1; \
167+
cargo nextest run -- --no-tests=pass -p $pkg) || exit 1; \
168168
done
169169

170170
test-contract-deploy *ARGS:
171-
./scripts/test-contract-deploy {{ARGS}}
171+
scripts/test-contract-deploy {{ARGS}}
172172

173173
test-all: build_release build-test-utils
174-
env RUST_LOG=block_checker=info,warn target/release/run \
175-
--verbose \
176-
--timeout 120 \
177-
--spawn "1:anvil --port 8545" \
178-
--run "2:sleep 3" \
179-
--run "3:scripts/deploy-test-contract" \
180-
--spawn "4:target/release/block-maker --port 55000 --committee test-configs/c0/committee.toml" \
181-
--spawn "4:target/release/yapper --keyset-file test-configs/c0/committee.toml" \
182-
--spawn "5:target/release/run-committee --configs test-configs/local/ --committee 0 --timeboost target/release/timeboost" \
183-
target/release/block-checker -- \
184-
--config test-configs/local/node_0.toml \
185-
--committee test-configs/c0/committee.toml \
186-
--committee-id 0 \
187-
--blocks 1000
174+
env RUST_LOG=block_checker=info,warn target/release/run \
175+
--verbose \
176+
--timeout 120 \
177+
--spawn "1:anvil --port 8545" \
178+
--run "2:sleep 3" \
179+
--run "3:scripts/deploy-test-contract" \
180+
--spawn "4:target/release/block-maker --port 55000 --committee test-configs/c0/committee.toml" \
181+
--spawn "4:target/release/yapper --keyset-file test-configs/c0/committee.toml" \
182+
--spawn "5:target/release/run-committee --configs test-configs/local/ --committee 0 --timeboost target/release/timeboost" \
183+
target/release/block-checker -- \
184+
--config test-configs/local/node_0.toml \
185+
--committee test-configs/c0/committee.toml \
186+
--committee-id 0 \
187+
--blocks 1000

0 commit comments

Comments
 (0)