Class: CompileCommand

Inherits:
Command show all
Defined in:
lib/commands/compile.rb

Instance Attribute Summary

Attributes inherited from Command

#description

Instance Method Summary collapse

Methods inherited from Command

#after_init, #before_init, default_cmd, describe, description, get_allowed_commands, #help, #initialize, load, load_all, #run, show_use, usage

Constructor Details

This class inherits a constructor from Command

Instance Method Details

#mainObject



6
7
8
9
10
11
12
13
# File 'lib/commands/compile.rb', line 6

def main
  
  FileUtils.cd(Rcli::SRC_PATH)
  `./comp`
  
  puts "Done"
  # exec 'comp'
end