forked from QwikDev/qwik
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (26 loc) · 669 Bytes
/
Makefile
File metadata and controls
38 lines (26 loc) · 669 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
install-rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
install-rust-deps:
rustup update
rustup target add wasm32-unknown-unknown
cargo install cargo-insta
rustup component add clippy
add-target:
rustup target add wasm32-unknown-unknown
install-all: install-rust install-rust-deps
install-cli:
cd src/optimizer/cli && cargo install --path .
fix:
cargo fmt
check:
cargo fmt -- --check && cargo check
lint:
cargo clippy
test:
cargo test
publish-core:
cd src/optimizer/core && cargo publish --all-features
publish-cli:
cd src/optimizer/cli && cargo publish
publish: publish-core publish-cli
validate: check lint test