lib/tools.rb in capucine-0.2.5 vs lib/tools.rb in capucine-0.2.9
- old
+ new
@@ -103,13 +103,11 @@
do_coffee = do_things[1]
do_incloudr = do_things[2]
thread_sass = @cap.sass.run_watch if do_sass
thread_coffee = @cap.coffee.run_watch if do_coffee
- # thread_incloudr = @cap.incloudr.run_watch if do_incloudr
-
thread_sass.join if thread_sass
thread_coffee.join if thread_coffee
end
@@ -145,10 +143,10 @@
# TODO
end
#======================
def extract_commands_from_scope(scope)
- all = ['sass', 'coffee', 'incloudr']
+ all = ['use_compass', 'use_coffeescript', 'use_incloudr']
todo = [false,false,false]
scope = (scope != 'all') ? scope.split(',') : all # [] or ['sass', 'coffee']
all.each_with_index do |command, i|