Skip to content

Instantly share code, notes, and snippets.

@a-bx
Created May 27, 2013 15:07
Show Gist options
  • Save a-bx/5657545 to your computer and use it in GitHub Desktop.
Save a-bx/5657545 to your computer and use it in GitHub Desktop.
TideSDK working with coffeescript, HAML, SAAS and Sprockets
guard 'sass', input: 'source/styles', output: 'Resources/styles'
guard 'haml', input: 'source', output: 'Resources' do
watch(/^.+(\.html\.haml)/)
end
guard 'rocco', :run_on => [:start, :change], :dir => 'docs', :stylesheet => 'https://raw.github.com/joeharris76/docco-css/master/nuvola.css' do
watch(%r{^source/scripts/.*\.(coffee)$})
end
guard 'sprockets', :destination => 'Resources/scripts', :asset_paths => ['source/scripts'], :root_file => 'source/scripts/app.js' do
watch 'source/scripts/app.js'
watch(%r{^source/scripts/.*\.(coffee)$})
end
#app.js contains *requiere* of anothers coffeescripts sources.
# //= require file1
# //= require_tree .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment