Move cargo config aliases to justfile. (#740)
This means that we don't have to have `.cargo/config` committed, which allows people to use that file to customize their build without conflicts.
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
2 archivos · +17 −5
- .cargo/config.toml +0 −5
- justfile +17 −0
diff --git a/.cargo/config.toml b/.cargo/config.toml
deleted file mode 100644
index 4a305236e..000000000
--- a/.cargo/config.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-[alias]
-gentest = "run --release --package gentest --"
-import-yoga-tests = "run --package import-yoga-tests --"
-format-fixtures = "run --package format-fixtures --"
-xbench = "bench --package taffy_benchmarks"
diff --git a/justfile b/justfile
new file mode 100644
index 000000000..7fdeecd9b
--- /dev/null
+++ b/justfile
@@ -0,0 +1,17 @@
+gentest:
+ cargo run --release --package gentest --
+
+import-yoga-tests:
+ cargo run --package import-yoga-tests --
+
+format-fixtures:
+ cargo run --package format-fixtures --
+
+bench:
+ cargo bench --package taffy_benchmarks
+
+clippy:
+ cargo +nightly clippy --workspace
+
+fmt:
+ cargo fmt --all
\ No newline at end of file