Sha256: e2aaf9abee99b765a4fe935dfc0ae4be89b5669ab4cd1638ccf5e4be0ba2c208
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true require 'avm/core_ext' require 'avm/eac_asciidoctor_base0/build' require 'avm/eac_asciidoctor_base0/project' module Avm module Tools class Runner class AppSrc 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
avm-tools-0.96.0 | lib/avm/tools/runner/app_src/eac_asciidoctor_base0/build.rb |