class Canvas::Workflow::CLI::Build
Public Instance Methods
build()
click to toggle source
# File lib/canvas/workflow/cli/build.rb, line 9 def build config = File.expand_path("../../../../../_config.yml", __FILE__) cmd = "" cmd << "bundle exec " if options[:with_bundler] cmd << "jekyll build --config #{config},_config.yml --verbose" #puts "#{cmd}" ret = system("#{cmd}") raise Error.new($?.exitstatus) if (ret.nil? || ret == false) end