From a9dc0208eb892ef103132f69472bacb2fde72845 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 31 May 2025 00:35:34 -0700 Subject: chore: Drop cargo-make for just --- .gitignore | 2 ++ Makefile.toml | 60 ----------------------------------------------------------- justfile | 7 +++++++ 3 files changed, 9 insertions(+), 60 deletions(-) delete mode 100644 Makefile.toml create mode 100644 justfile diff --git a/.gitignore b/.gitignore index ffff1da..5f6335e 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ Cargo.lock /*.json /*.png +# Fuwn/justfiles +*.just diff --git a/Makefile.toml b/Makefile.toml deleted file mode 100644 index c8a2072..0000000 --- a/Makefile.toml +++ /dev/null @@ -1,60 +0,0 @@ -# ------------- -# | Variables | -# ------------- -[env] -CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true - -# ------------ -# | Wrappers | -# ------------ -[tasks.fmt] -command = "cargo" -args = ["fmt"] -private = true - -[tasks.check] -command = "cargo" -args = ["check"] -private = true - -[tasks.clippy] -command = "cargo" -args = ["clippy"] -private = true - -[tasks.test] -command = "cargo" -args = ["test"] -private = true - -[tasks.bench] -command = "cargo" -args = ["bench"] -private = true - -# ------------- -# | Executors | -# ------------- -[tasks.checkf] -workspace = false -dependencies = ["fmt", "check"] - -[tasks.checkfc] -workspace = false -dependencies = ["fmt", "check", "clippy"] - -[tasks.checkall] -workspace = false -dependencies = ["fmt", "check", "clippy", "test", "bench"] - -[tasks.docs] -workspace = false -toolchain = "nightly" -command = "cargo" -args = ["doc", "--open", "--document-private-items", "--no-deps"] - -[tasks.run] -workspace = false -dependencies = ["checkfc"] -command = "cargo" -args = ["run", "--bin", "para", "${@}"] diff --git a/justfile b/justfile new file mode 100644 index 0000000..e5d6b38 --- /dev/null +++ b/justfile @@ -0,0 +1,7 @@ +import? 'cargo.just' + +default: + @just --list + +fetch: + curl https://raw.githubusercontent.com/Fuwn/justfiles/refs/heads/main/cargo.just > cargo.just -- cgit v1.2.3