summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2020-04-04 15:56:44 +0200
committerJustin Wernick <justin@worthe-it.co.za>2020-04-04 15:56:44 +0200
commit36ace00bf4a2524b678e3e3d6e734e521fc24b86 (patch)
tree708cfe300d97e718e7476a59ec08321d6b43d30f /Makefile
parent6cb8ec85751b3936bc72f2a4aa052e08a575532e (diff)
Makefile for making submissions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a5db32e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+default: build
+
+build:
+ cargo build --release
+
+test:
+ cargo test --release
+
+clean:
+ cargo clean
+
+submission.zip: bot.json Cargo.lock Cargo.toml src
+ zip -r9 submission.zip bot.json Cargo.lock Cargo.toml src
+
+.PHONY: default build test clean