-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathjustfile
More file actions
38 lines (29 loc) · 976 Bytes
/
justfile
File metadata and controls
38 lines (29 loc) · 976 Bytes
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
36
37
38
_default:
@just --choose
build-playground:
@cd dr-html-wasm && RUSTFLAGS='-D warnings -A unused-imports' wasm-pack build \
--target web \
--out-dir ../web-playground/public/wasm
playground: build-playground
@cd web-playground && pnpm run dev
check:
@export RUSTFLAGS="-D warnings" && \
cargo check && \
cargo clippy && \
cargo fmt -- --check && \
cargo test --all --no-fail-fast && \
cargo build
@just build-playground
ptest:
@cd parser && CARGO_TARGET_DIR=target_bacon bacon test
btest:
@cd dr-html-backend && CARGO_TARGET_DIR=target_bacon bacon test
ktest:
@cd tck && CARGO_TARGET_DIR=target_bacon bacon test
reset-wasm:
@git restore web-playground/public/wasm/dr_html_wasm_bg.wasm
# NB: if it tags and fails to publish, run `cargo workspaces publish --publish-as-is`
publish type:
@cargo workspaces publish {{type}} --message "release v%v" --no-individual-tags
fixtures:
@cd cli/tests/all && bash make-fixtures.sh