Class: Aspen::CLI::Commands::BuildSteps::ConvertIntoAspen
- Defined in:
- lib/aspen/cli/commands/build_steps.rb
Overview
/ DownloadAttachedResources
Instance Method Summary collapse
Methods inherited from BuildStep
Instance Method Details
#call ⇒ Object
100 101 102 103 104 105 106 107 108 |
# File 'lib/aspen/cli/commands/build_steps.rb', line 100 def call(*) super puts "----> Converting non-Aspen to Aspen (bin/convert)" if @files.exist?('bin/convert') unless system('bin/convert') raise RuntimeError, "`bin/convert` didn't work, stopping build. See above Traceback." end end end |