gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

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.

417d58931aac75ae9338a59e17a927ac14eed57f · por Nico Burns · (hace 1 año) · padre 3bcce12d2 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

2 archivos · +17 −5

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