Class: Mwc::Commands::Compile
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Mwc::Commands::Compile
- Includes:
- Utils::Command, Thor::Actions
- Defined in:
- lib/mwc/commands/compile.rb
Overview
Compile mruby to wasm
Instance Method Summary collapse
Methods included from Utils::Command
Instance Method Details
#compile ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/mwc/commands/compile.rb', line 21 def compile Mwc.use(['env']) do # TODO: Allow change output directory empty_directory('dist') Tasks.new Rake::Task[['format']].invoke end end |