Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use bundler, and update guard

  • Loading branch information...
commit 7f5c8fe9bfee5d080803f17539d3d4ea88671c3a 1 parent 2911e87
@dgoodlad dgoodlad authored
Showing with 37 additions and 2 deletions.
  1. +5 −0 Gemfile
  2. +30 −0 Gemfile.lock
  3. +2 −2 Guardfile
View
5 Gemfile
@@ -0,0 +1,5 @@
+source :rubygems
+
+gem 'guard'
+gem 'guard-coffeescript'
+gem 'guard-shell'
View
30 Gemfile.lock
@@ -0,0 +1,30 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ coffee-script (2.1.1)
+ coffee-script-source
+ coffee-script-source (1.0.0)
+ configuration (1.2.0)
+ guard (0.3.0)
+ open_gem (~> 1.4.2)
+ thor (~> 0.14.6)
+ guard-coffeescript (0.1.7)
+ coffee-script (~> 2.1.1)
+ guard (~> 0.3.0)
+ guard-shell (0.1.1)
+ guard (>= 0.2.0)
+ launchy (0.3.7)
+ configuration (>= 0.0.5)
+ rake (>= 0.8.1)
+ open_gem (1.4.2)
+ launchy (~> 0.3.5)
+ rake (0.8.7)
+ thor (0.14.6)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ guard
+ guard-coffeescript
+ guard-shell
View
4 Guardfile
@@ -1,9 +1,9 @@
# More info at http://github.com/guard/guard#readme
guard 'coffeescript', :output => 'app/_attachments/js/compiled' do
- watch('^app/_attachments/coffee/(.*)\.coffee')
+ watch(%r(^app/_attachments/coffee/(.*)\.coffee))
end
guard 'shell' do
- watch('app/(.*).(js|mustache|html|css)') {|m| `cd app && couchapp push` }
+ watch(%r(app/(.*).(js|mustache|html|css))) {|m| `cd app && couchapp push vps` }
end
Please sign in to comment.
Something went wrong with that request. Please try again.