Sha256: be7bf99a21c3f9d76327a92e89e1d3faacd8e710c0d96f4d754bbfd17f7c614e

Contents?: true

Size: 1.01 KB

Versions: 8

Compression:

Stored size: 1.01 KB

Contents

begin
  if RUBY_PLATFORM.include?('linux')
    require 'rb-notify'
    require 'libnotify'
  end
rescue LoadError
end

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

8 entries across 8 versions & 1 rubygems

Version Path
joosy-1.1.2 Guardfile
joosy-1.1.1 Guardfile
joosy-1.1.0 Guardfile
joosy-1.1.0.alpha.3 Guardfile
joosy-1.1.0.alpha.2 Guardfile
joosy-1.1.0.alpha.1 Guardfile
joosy-1.0.0.RC7 Guardfile
joosy-1.0.0.RC6 Guardfile