diff options
| author | Teddy Wing | 2015-12-08 01:59:41 -0500 |
|---|---|---|
| committer | Teddy Wing | 2015-12-08 01:59:41 -0500 |
| commit | 8caaf977631f807e7994677a04174c37cb8d0da8 (patch) | |
| tree | b075411e56dc70fe635628409300cb17ed6bf726 | |
| parent | 29aaafedef9f34c4ba62fb481fc5e6ba711c7eb7 (diff) | |
| download | Ruby-Web-Sessions-Exercise-8caaf977631f807e7994677a04174c37cb8d0da8.tar.bz2 | |
Makefile: Add `pack` and `clean` tasks
pack:
Zips relevant files for distribution
clean:
Removes the zip file generated in `pack`.
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
