Sha256: 726417e274bcfaa22c3d8b65baaa8ade410d6e539558741d835855224e100f6d
Contents?: true
Size: 1.11 KB
Versions: 9
Compression:
Stored size: 1.11 KB
Contents
# frozen_string_literal: true require 'avm/eac_asciidoctor_base0/build' require 'avm/eac_asciidoctor_base0/project' require 'eac_cli/core_ext' require 'eac_ruby_utils/console/docopt_runner' module Avm module Tools class Runner class LocalProject class EacAsciidoctorBase0 class Build runner_with :help do desc 'Build the project' arg_opt '-d', '--target-dir', 'Directory to build' end def run start_banner build.run end private def build_uncached ::Avm::EacAsciidoctorBase0::Build.new(runner_context.call(:project), target_directory: parsed.target_dir) end def default_target_directory runner_context.call(:project).root.join('build') end def start_banner runner_context.call(:project_banner) infov 'Target directory', build.target_directory end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems