summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.rb b/build.rb
index 41b4388..6d74536 100755
--- a/build.rb
+++ b/build.rb
@@ -45,6 +45,9 @@ OptionParser.new do |opts|
opts.on("-s", "--size SIZE", "Size to resize images to") do |size|
options[:size] = size
end
+ opts.on("-c", "--commit HASH", "Commit to display on website") do |hash|
+ options[:commit] = hash
+ end
end.parse!
options[:path] = "build" unless options[:path]