diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2020-04-04 15:56:44 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2020-04-04 15:56:44 +0200 |
commit | 36ace00bf4a2524b678e3e3d6e734e521fc24b86 (patch) | |
tree | 708cfe300d97e718e7476a59ec08321d6b43d30f | |
parent | 6cb8ec85751b3936bc72f2a4aa052e08a575532e (diff) |
Makefile for making submissions
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | Makefile | 15 |
2 files changed, 16 insertions, 0 deletions
@@ -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 |