travis-web/lib/guard/assets.rb
2012-06-22 12:14:00 +02:00

36 lines
412 B
Ruby

$stdout.sync = true
require 'guard'
require 'guard/guard'
module Guard
class Assets < Guard
def start
UI.info "Guard::Assets is running."
run
end
def run_all
run
end
def reload
run
end
def run_on_change(paths)
puts "change: #{paths.inspect}"
run
end
private
def run
system('bundle exec rakep')
end
end
end