Method: Docman::CLI#build
- Defined in:
- lib/docman/cli.rb
#build(deploy_target, state) ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/docman/cli.rb', line 44 def build(deploy_target, state) get_to_root_dir if [:force] FileUtils.rm_r('master') if File.directory? 'master' end Application.instance.build(deploy_target, state, ) say('Complete!', :green) end |