Class: Teapot::Command::Build

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/teapot/command.rb

Instance Method Summary collapse

Instance Method Details

#invoke(parent) ⇒ Object



124
125
126
127
128
129
# File 'lib/teapot/command.rb', line 124

def invoke(parent)
	# TODO: This is a bit of a hack, figure out a way to pass it directly through to build subsystem.
	ARGV.replace(@argv) if @argv
	
	parent.controller.build(@targets)
end