Sha256: 59817f69f01e5925c4b94375c5c876980cf6e1012acfdb67961f165f21644676

Contents?: true

Size: 916 Bytes

Versions: 5

Compression:

Stored size: 916 Bytes

Contents

require 'coffee_script'

guard 'coffeescript', :output => 'tmp/spec/javascripts', :all_on_start => true do
  watch(%r{^spec/javascripts/(.+)[sS]pec\.js\.coffee$})
end

guard 'coffeescript', :output => 'tmp/spec/javascripts/helpers', :all_on_start => true do
  watch(%r{^spec/javascripts/helpers/(.+)\.js\.coffee$})
end

jquery_path = File.join(Gem.loaded_specs['jquery-rails'].full_gem_path, 'vendor/assets/javascripts')

guard 'sprockets', :destination => 'tmp/javascripts',
  :asset_paths => ['app/assets/javascripts', 'vendor/assets/javascripts', jquery_path],
  :root_file => [
    'app/assets/javascripts/joosy.js.coffee',
    'app/assets/javascripts/joosy/preloaders/caching.js.coffee',
    'app/assets/javascripts/joosy/preloaders/inline.js.coffee'
  ] do
  watch %r{^app/assets/javascripts/joosy/core.+\.js}
  watch 'app/assets/javascripts/joosy.js.coffee'
end

puts 'HI! Hit <Enter> to generate all stuff.'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
joosy-1.0.0.RC5 Guardfile
joosy-1.0.0.RC4 Guardfile
joosy-1.0.0.RC3 Guardfile
joosy-1.0.0.RC2 Guardfile
joosy-1.0.0.RC1 Guardfile