Skip to content

Commit

Permalink
Add jshint guard
Browse files Browse the repository at this point in the history
  • Loading branch information
pl committed Feb 6, 2013
1 parent f8d66cc commit 48580cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ group :development do
gem 'rb-fsevent'
gem 'guard'
gem 'guard-jasmine'
gem 'guard-jshint-node'
end
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ GEM
guard (>= 1.1.0)
multi_json
thor
guard-jshint-node (0.0.7)
guard (>= 0.10.0)
httparty (0.6.1)
crack (= 0.1.8)
jasmine (1.2.1)
Expand Down Expand Up @@ -94,6 +96,7 @@ DEPENDENCIES
aws-s3
guard
guard-jasmine
guard-jshint-node
httparty
jasmine
jbundle!
Expand Down
5 changes: 5 additions & 0 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
guard 'jshint-node' do
watch(%r{spec/javascripts/.+_spec\.js$})
watch(%r{src/(.+)\.js$})
end

guard :jasmine, server: :none, jasmine_url: "http://localhost:8888/" do
watch(%r{spec/javascripts/.+_spec\.js$})
watch(%r{src/(.+)\.js$}) { |m| "spec/javascripts/unit/#{m[1]}_spec.js" }
Expand Down

0 comments on commit 48580cc

Please sign in to comment.