diff options
| author | Zack Hobson | 2014-02-04 11:06:04 -0800 |
|---|---|---|
| committer | Zack Hobson | 2014-02-04 11:06:04 -0800 |
| commit | 81cf14f3239184bd22698059ece9902a730714d7 (patch) | |
| tree | 15befb79623d0b8713a0bdee0fbca752f74ec455 | |
| parent | 2a2d0501f995cba900c26fc1a159e3c9235a329d (diff) | |
| download | hcl-81cf14f3239184bd22698059ece9902a730714d7.tar.bz2 | |
Rakefile: add a task to ensure that the bundle is updated on release
| -rw-r--r-- | Rakefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,13 @@ require 'rubygems/tasks' Gem::Tasks.new +# I am dumb and keep forgetting to update the bundle before releasing +task :update_bundle do + system("bundle") + system("git ci -am 'update gemfile.lock'") +end +task :release => :update_bundle + require 'fileutils' task :clean do FileUtils.rm_rf %w[ pkg coverage doc man/hcl.1 ] |
