module BuildCommand

Specifies the version command rubocop:disable Metrics/MethodLength

Public Class Methods

included(thor) click to toggle source
# File lib/plugins/commands/build_command.rb, line 6
  def self.included(thor)
    thor.class_eval do
      long_desc <<-LONGDESC

Run the build, configured in the project's .radial.yml file
with the property:

|build:

|  cmd: bundle exec rake

      LONGDESC

      descf "build", nil, "Run the build"
      def build
        inf "\nBUILDING APPLICATION\n"
        bld.cmd Conf.build.cmd
      end
    end
  end

Public Instance Methods

build() click to toggle source
# File lib/plugins/commands/build_command.rb, line 20
def build
  inf "\nBUILDING APPLICATION\n"
  bld.cmd Conf.build.cmd
end