diff options
| author | Fuwn <[email protected]> | 2025-06-02 12:31:53 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-02 12:31:53 +0000 |
| commit | 67654c7e5f96b515da1a39b132c6d21f30d978bd (patch) | |
| tree | cddef3cbd7d552b0b42ee9da2c6dd682a93bd208 | |
| parent | fix(container): Safely unwrap line fragment (diff) | |
| download | germ-67654c7e5f96b515da1a39b132c6d21f30d978bd.tar.xz germ-67654c7e5f96b515da1a39b132c6d21f30d978bd.zip | |
chore: Migrate to just from cargo-make
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | Makefile.toml | 26 | ||||
| -rw-r--r-- | justfile | 21 |
3 files changed, 24 insertions, 26 deletions
@@ -7,3 +7,6 @@ Cargo.lock # Visual Studio Code .vscode + +# Fuwn/justfiles +*.just diff --git a/Makefile.toml b/Makefile.toml deleted file mode 100644 index d152803..0000000 --- a/Makefile.toml +++ /dev/null @@ -1,26 +0,0 @@ -[tasks.fmt] -args = ["fmt"] -command = "cargo" -toolchain = "nightly" - -[tasks.check] -args = ["check", "--all-features"] -command = "cargo" - -[tasks.clippy] -args = ["clippy", "--all-features"] -command = "cargo" - -[tasks.test] -args = ["test", "--all-features"] -command = "cargo" - -[tasks.checkf] -dependencies = ["fmt", "check"] - -[tasks.checkfc] -dependencies = ["fmt", "check", "clippy"] - -[tasks.example] -args = ["run", "--example", "${@}", "--all-features"] -command = "cargo" diff --git a/justfile b/justfile new file mode 100644 index 0000000..9c142cc --- /dev/null +++ b/justfile @@ -0,0 +1,21 @@ +import? 'cargo.just' + +set allow-duplicate-recipes := true + +default: + @just --list + +fetch: + curl https://raw.githubusercontent.com/Fuwn/justfiles/a6ca8a1b0475966ad10b68c44311ba3cb8b72a31/cargo.just > cargo.just + +fmt: + cargo +nightly fmt + +test: + cargo test --all-features + +docs: + cargo +nightly doc --open --no-deps + +example example: + cargo run --example {{ example }} --all-features |