From 8caaf977631f807e7994677a04174c37cb8d0da8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 8 Dec 2015 01:59:41 -0500 Subject: Makefile: Add `pack` and `clean` tasks pack: Zips relevant files for distribution clean: Removes the zip file generated in `pack`. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 25f0dcf..0d0c6c9 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,8 @@ run: bundle exec rerun 'ruby app.rb' + +pack: + zip -r session-exercise.zip . --exclude '.bundle/*' '.git/*' .gitignore 'vendor/*' + +clean: + rm -f session-exercise.zip -- cgit v1.2.3