Skip to content

Commit

Permalink
Added Makefile for post receive jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
brockgr committed Apr 16, 2011
1 parent f3806d3 commit d916e77
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
@@ -0,0 +1,22 @@
# The release management jobs. This is normally a Rakefile
# but because rails hijaks rake (and won't let it run if
# it has any issues, such as outdated modules), this has
# to be done by make. -- Gavin

default:
@echo "make: No default action"

pre_receive:
@echo "make: Nothing to do"


post_receive:
@echo "make: Running bundle install"
bundle install --local
@echo "make: Running rake db:migrate"
rake db:migrate
@touch "tmp/restart.txt"

restart:
@echo "make: Ackbar restart - touching tmp/restart.txt"
@touch "tmp/restart.txt"

0 comments on commit d916e77

Please sign in to comment.