Sha256: aeef40329478c07312fe4ee0079d6e1a1e6ea820a0e397b4e3e53bb6d750ab7e

Contents?: true

Size: 927 Bytes

Versions: 7

Compression:

Stored size: 927 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'] or ENV['RUN_TESTS']
  unless ENV['SKIP_JAVASCRIPTS']
    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
  end

  unless ENV['SKIP_STYLESHEETS']
    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
end

unless ENV['COMPILE_MODE']
  guard 'jasmine' do
    watch(%r{src/(.+)\.coffee}) {|m| "spec/#{ m[1] }_spec.coffee" }
    watch(%r{spec/(.+)_spec\.coffee})
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
luca-0.9.8 Guardfile
luca-0.9.76 Guardfile
luca-0.9.7 Guardfile
luca-0.9.65 Guardfile
luca-0.9.6 Guardfile
luca-0.9.42 Guardfile
luca-0.9.4 Guardfile