summaryrefslogtreecommitdiffstats
path: root/Makefile.toml
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2021-03-26 16:01:22 +0000
committerBrooks J Rady <b.j.rady@gmail.com>2021-03-26 16:01:22 +0000
commit4c662fc6d08009fcdfa5b49e7875e44abf3971d8 (patch)
tree342017c6127fc8bfe0cf802dd3eba9499fd85c42 /Makefile.toml
parentd818661c727a59312e1a43432e84fbeec79fc145 (diff)
Start porting to cargo-make
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml
new file mode 100644
index 000000000..8856854cd
--- /dev/null
+++ b/Makefile.toml
@@ -0,0 +1,27 @@
+# Global Settings
+[env]
+CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
+SKIP_TEST = false
+
+# Patching the default flows to skip testing of wasm32-wasi targets
+[tasks.pre-test]
+condition = { env = { "CARGO_MAKE_CRATE_TARGET_TRIPLE" = "wasm32-wasi" } }
+env = { "SKIP_TEST" = true }
+
+[tasks.test]
+condition = { env_false = ["SKIP_TEST"] }
+dependencies = ["pre-test"]
+
+[tasks.post-test]
+env = { "SKIP_TEST" = false }
+
+# Running Zellij
+
+# Change the build to always use the assets, but not delete them by default
+# Instead, just run with a patched layout file that points to a local plugin copy
+
+# Have a publish flow that triggers wasm-opt and updates the assets
+
+# Have an install flow that deletes the zellij data directory (using a rust script)
+
+# Add a clippy flow that uses the nightly options \ No newline at end of file