class Piperun::CLI

Public Instance Methods

build() click to toggle source
# File lib/piperun/cli.rb, line 12
def build
  project = Piperun::Project.load "Pipefile.rb"
  project.run
end
watch() click to toggle source
# File lib/piperun/cli.rb, line 18
def watch
  project = Piperun::Project.load "Pipefile.rb"
  project.run
  project.watch

  begin
    Kernel.sleep
  rescue Interrupt
  end
end