Skip to content

Commit ec6d7e4

Browse files
committedSep 3, 2023
feat: adding cargo make scripts
1 parent d4b8c05 commit ec6d7e4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎Makefile.toml

+17
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
11
extend = [{ path = "../cargo-make/main.toml" }]
2+
3+
[tasks.fmt-all]
4+
script = '''
5+
#!@duckscript
6+
leptosfmt .
7+
cargo fmt --all
8+
cargo clippy --fix -- -D warnings
9+
'''
10+
11+
12+
[tasks.check]
13+
script = '''
14+
#!@duckscript
15+
leptosfmt --check .
16+
cargo fmt --all --check
17+
cargo clippy -- -D warnings
18+
'''

0 commit comments

Comments
 (0)