Sha256: f2192b4e74ba5c9e2bde5019c20aa49546f2edbb5c4589b2063de9b5ea72ffed
Contents?: true
Size: 810 Bytes
Versions: 18
Compression:
Stored size: 810 Bytes
Contents
require './app' assets_path = Dir.pwd + '/vendor/assets' javascript_path = File.join( assets_path, 'javascripts' ) stylesheets_path = File.join( assets_path, 'stylesheets' ) unless ENV['TEST_MODE'] guard 'sprockets2', :clean=>false, :assets_path => javascript_path, :sprockets => App.sprockets, :precompile=>[/^luca-ui.+(coffee|js)$/], :digest => false, :gz => false do watch(%r{^src/.+$}) watch(%r{^spec/.+$}) end guard 'sprockets2', :clean=>false, :assets_path => stylesheets_path, :sprockets => App.sprockets, :precompile=>[/^luca-ui.+(scss|css)$/], :digest => false, :gz => false do watch(%r{^src/stylesheets/.+$}) end end # TODO: Couldn't detect phantomjs guard 'jasmine' do watch(%r{src/(.+)\.coffee}) {|m| "spec/#{ m[1] }_spec.coffee" } watch(%r{spec/(.+)_spec\.coffee}) end
Version data entries
18 entries across 18 versions & 1 rubygems