summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 03a1a18..1a00069 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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 ]