summaryrefslogtreecommitdiff
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
parent6cb8ec85751b3936bc72f2a4aa052e08a575532e (diff)
Makefile for making submissions
-rw-r--r--Cargo.toml1
-rw-r--r--Makefile15
2 files changed, 16 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5a23926..d522a41 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,3 +11,4 @@ serde_json = "1.0"
[profile.release]
lto = true
+# debug = true \ No newline at end of file
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