make zip

Zig Zichterman [03-27-16 - 19:18]
make zip
Filename
Makefile
diff --git a/Makefile b/Makefile
index 03e54f8..d070230 100644
--- a/Makefile
+++ b/Makefile
@@ -11,3 +11,11 @@ csv: ../../SavedVariables/GuildGoldDeposits.csv

 ../../SavedVariables/GuildGoldDeposits.csv: ../../SavedVariables/GuildGoldDeposits.lua
 	lua GuildGoldDeposits_to_csv.lua
+
+zip:
+	-rm -rf published/GuildGoldDeposits published/GuildGoldDeposits\ x.x.x.x.zip
+	mkdir -p published/GuildGoldDeposits
+	cp -R Libs published/GuildGoldDeposits/Libs
+	cp ./GuildGoldDeposits* published/GuildGoldDeposits/
+	cd published; zip -r GuildGoldDeposits\ x.x.x.x.zip GuildGoldDeposits
+