Skip to content

Commit

Permalink
Add command to download s3_website.jar before pushing (close #242) (#243
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jcbpl authored and laurilehmijoki committed Oct 25, 2016
1 parent 5a4e978 commit d2bd561
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/s3_website
Expand Up @@ -124,6 +124,17 @@ class Cli < Thor
end
end

desc 'install', 'Download s3_website.jar'
long_desc <<-LONGDESC
Use `s3_website install` to download the s3_website.jar dependency
before you run `s3_website push` (good for CI dependency caching).
LONGDESC
def install
project_root = File.expand_path(File.dirname(__FILE__)+ '/..')
logger = Logger.new(options[:verbose])
resolve_jar(project_root, logger)
end

desc 'cfg SUBCOMMAND ...ARGS', 'Operate on the config file'
subcommand 'cfg', Cfg
end
Expand Down

0 comments on commit d2bd561

Please sign in to comment.