Class: MagLove::Commands::Main
- Defined in:
- lib/maglove/commands/main.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Workspace
#gem_dir, #theme_base_dir, #theme_base_file, #theme_config, #theme_dir, #theme_file, #workspace_dir, #workspace_file
Methods included from Helper::LogHelper
#debug, #error, #error!, #info, #logger
Constructor Details
This class inherits a constructor from MagLove::Commands::Base
Instance Method Details
#compile ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/maglove/commands/main.rb', line 14 def compile workspace_dir("src/themes").each_dir do |dir| theme = dir.name info("COMPILING THEME #{theme}") invoke(Assets, :compile, [], theme: theme) reset_command_invocations(Assets) end end |