We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f6b28 commit 61aa9adCopy full SHA for 61aa9ad
justfile
@@ -7,9 +7,34 @@ open:
7
trunk serve --open
8
9
# Run unit tests in WASM in Firefox
10
-test:
+test-wasm:
11
wasm-pack test --headless --firefox
12
13
+# Run unit tests on local computer
14
+test:
15
+ cargo test
16
+
17
+# Run code linter
18
+lint:
19
+ cargo clippy --all-targets -- --deny warnings
20
21
+# Format code
22
+fmt:
23
+ cargo fmt --all
24
25
+# Check if code is formatted
26
+fmtcheck:
27
+ cargo fmt --all -- --check
28
29
+# Check code (CI)
30
+check:
31
+ cargo --version
32
+ rustc --version
33
+ just fmtcheck
34
+ just lint
35
+ just test
36
+ just test-wasm
37
38
# Remove all temporary files
39
clean:
40
rm -rf target
0 commit comments