-
Notifications
You must be signed in to change notification settings - Fork 11
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
aae3a30
commit ef1ef0c
Showing
23 changed files
with
5,212 additions
and
2,783 deletions.
There are no files selected for viewing
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
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
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,80 @@ | ||
version: "3" | ||
run: once | ||
|
||
tasks: | ||
build: | ||
deps: | ||
- build-loxcraft | ||
- build-playground | ||
build-loxcraft: | ||
cmd: cargo build --all-features --all-targets --workspace | ||
internal: true | ||
build-playground: | ||
deps: | ||
- setup-playground | ||
cmd: pnpm run build | ||
dir: playground | ||
internal: true | ||
|
||
fmt: | ||
deps: | ||
- fmt-loxcraft | ||
- fmt-playground | ||
- fmt-lox-wasm | ||
fmt-loxcraft: | ||
cmd: cargo +nightly fmt --all | ||
internal: true | ||
fmt-playground: | ||
deps: | ||
- setup-playground | ||
cmd: pnpm run fmt | ||
dir: playground | ||
internal: true | ||
fmt-lox-wasm: | ||
cmd: cargo +nightly fmt --all | ||
dir: playground/rust/lox-wasm | ||
internal: true | ||
|
||
lint: | ||
deps: | ||
- lint-loxcraft-clippy | ||
- lint-loxcraft-rustfmt | ||
- lint-playground | ||
- lint-lox-wasm-clippy | ||
- lint-lox-wasm-rustfmt | ||
lint-loxcraft-clippy: | ||
cmd: cargo clippy --all-features --all-targets --workspace -- --deny=warnings | ||
internal: true | ||
lint-loxcraft-rustfmt: | ||
cmd: cargo +nightly fmt --all -- --check | ||
internal: true | ||
lint-playground: | ||
deps: | ||
- setup-playground | ||
cmd: pnpm run lint | ||
dir: playground | ||
internal: true | ||
lint-lox-wasm-clippy: | ||
cmd: cargo clippy --all-features --all-targets --workspace -- --deny=warnings | ||
dir: playground/rust/lox-wasm | ||
internal: true | ||
lint-lox-wasm-rustfmt: | ||
cmd: cargo +nightly fmt --all -- --check | ||
dir: playground/rust/lox-wasm | ||
internal: true | ||
|
||
setup: | ||
deps: | ||
- setup-playground | ||
setup-playground: | ||
cmd: pnpm install --prefer-frozen-lockfile | ||
dir: playground | ||
internal: true | ||
|
||
test: | ||
cmd: cargo nextest run --features='gc-stress,gc-trace,vm-trace' --workspace {{.CLI_ARGS}} | ||
|
||
test-miri: | ||
cmd: > | ||
MIRIFLAGS='-Zmiri-disable-isolation' | ||
cargo +nightly miri nextest run --features='gc-stress,gc-trace,vm-trace' --no-default-features --workspace {{.CLI_ARGS}} |
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,3 @@ | ||
{ | ||
"extends": ["next/core-web-vitals", "next/typescript"] | ||
} |
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 @@ | ||
rust/ |
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,3 @@ | ||
{ | ||
"trailingComma": "all" | ||
} |
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
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} | ||
} |
Oops, something went wrong.