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

Version Path
luca-0.8.2 Guardfile
luca-0.8.06 Guardfile
luca-0.8 Guardfile
luca-0.7.92 Guardfile
luca-0.7.91 Guardfile
luca-0.7.9 Guardfile
luca-0.7.8 Guardfile
luca-0.7.7 Guardfile
luca-0.7.6 Guardfile
luca-0.7.5 Guardfile
luca-0.7.4 Guardfile
luca-0.7.3 Guardfile
luca-0.7.2 Guardfile
luca-0.7.0 Guardfile
luca-0.6.9 Guardfile
luca-0.6.8 Guardfile
luca-0.6.7 Guardfile
luca-0.6.6 Guardfile