forked from QwikDev/qwik
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e4126a
commit 096e304
Showing
57 changed files
with
8,327 additions
and
51 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[workspace] | ||
|
||
members = [ | ||
"src/napi", | ||
"src/optimizer/cli", | ||
"src/optimizer/core", | ||
] | ||
exclude = ["src/wasm"] | ||
|
||
[profile.release] | ||
debug = 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
install-rust: | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | ||
|
||
install-rust-deps: | ||
rustup update | ||
cargo install cargo-insta | ||
cargo install wasm-pack | ||
rustup component add clippy | ||
|
||
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 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.