Method: Capucine::Tools#compile
- Defined in:
- lib/tools.rb
#compile(scope = nil) ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/tools.rb', line 80 def compile(scope = nil) scope = (scope) ? scope : 'all' do_things = self.extract_commands_from_scope(scope) do_sass = do_things[0] do_coffee = do_things[1] do_incloudr = do_things[2] @cap.sass.run_once if do_sass @cap.coffee.run_once if do_coffee @cap.incloudr.run_once if do_incloudr end |