Class: RequirejsIntegrator::Command::Compile
- Inherits:
-
RequirejsIntegrator::CommandTemplate
- Object
- RequirejsIntegrator::CommandTemplate
- RequirejsIntegrator::Command::Compile
- Defined in:
- lib/requirejs_integrator/command/compile.rb
Instance Method Summary collapse
Methods inherited from RequirejsIntegrator::CommandTemplate
Constructor Details
This class inherits a constructor from RequirejsIntegrator::CommandTemplate
Instance Method Details
#run ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/requirejs_integrator/command/compile.rb', line 25 def run @output.puts "*** Compile js files ***" @executor.system "node #{rjs_path} -o \ #{config_file_path} \ appDir=#{app_dir_path} \ baseUrl=./ \ mainConfigFile=#{main_config_file_path} \ dir=#{destination_path}" end |