Skip to content

Commit d08953e

Browse files
committed
refactor(justfile): hoist dependency task
1 parent 7870c61 commit d08953e

File tree

1 file changed

+7
-26
lines changed

1 file changed

+7
-26
lines changed

justfile

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@ default:
33
@just --list
44

55
# Build all crates with appropriate commands
6-
build:
7-
just build-repl-logic-guest
6+
build: build-repl-logic-guest build-plugins
87
just build-pluginlab
9-
just build-plugins
108

119
# Build all crates in release mode
12-
build-release:
13-
just build-repl-logic-guest-release
10+
build-release: build-repl-logic-guest-release build-plugins-release
1411
just build-pluginlab-release
15-
just build-plugins-release
1612

1713
# Build all plugins in debug mode
1814
build-plugins:
@@ -67,38 +63,23 @@ list-rust-plugins:
6763
ls -1 crates|grep plugin-
6864

6965
# Run the tests for the pluginlab
70-
test:
71-
just build-repl-logic-guest
72-
just build-plugins
73-
just prepare-fixtures
66+
test: build-repl-logic-guest build-plugins prepare-fixtures
7467
cargo test
7568

7669
# Run the e2e tests for the pluginlab
77-
test-e2e-pluginlab:
78-
just build-repl-logic-guest
79-
just build-plugins
80-
just prepare-fixtures
70+
test-e2e-pluginlab: build-repl-logic-guest build-plugins prepare-fixtures
8171
cargo test -p pluginlab
8272

8373
# Run the e2e tests for the pluginlab with no capture
84-
test-e2e-pluginlab-nocapture:
85-
just build-repl-logic-guest
86-
just build-plugins
87-
just prepare-fixtures
74+
test-e2e-pluginlab-nocapture: build-repl-logic-guest build-plugins prepare-fixtures
8875
cargo test -p pluginlab -- --nocapture
8976

9077
# Run the e2e tests for the pluginlab retrieving the plugins from the HTTP server
91-
test-e2e-pluginlab-http:
92-
just build-repl-logic-guest
93-
just build-plugins
94-
just prepare-fixtures
78+
test-e2e-pluginlab-http: build-repl-logic-guest build-plugins prepare-fixtures
9579
WASM_TARGET_DIR=https://topheman.github.io/webassembly-component-model-experiments/plugins cargo test -p pluginlab
9680

9781
# Run the e2e tests for the pluginlab retrieving the plugins from the HTTP server
98-
test-e2e-pluginlab-http-nocapture:
99-
just build-repl-logic-guest
100-
just build-plugins
101-
just prepare-fixtures
82+
test-e2e-pluginlab-http-nocapture: build-repl-logic-guest build-plugins prepare-fixtures
10283
WASM_TARGET_DIR=https://topheman.github.io/webassembly-component-model-experiments/plugins cargo test -p pluginlab -- --nocapture
10384

10485
# Prepare the fixtures for the e2e tests

0 commit comments

Comments
 (0)