mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
Moved JSHint into Qunit suite. It's much harder to forget about now!
This commit is contained in:
@ -3,14 +3,6 @@ require 'terminal-notifier-guard' if RUBY_PLATFORM.include?('darwin')
|
||||
phantom_path = File.expand_path('~/phantomjs/bin/phantomjs')
|
||||
phantom_path = nil unless File.exists?(phantom_path)
|
||||
|
||||
# verify that we pass jshint
|
||||
# see https://github.com/MrOrz/guard-jshint-on-rails
|
||||
guard 'jshint-on-rails', config_path: 'config/jshint.yml' do
|
||||
# watch for changes to application javascript files
|
||||
watch(%r{^app/assets/javascripts/.*\.js$})
|
||||
watch(%r{^spec/javascripts/.*\.js$})
|
||||
end
|
||||
|
||||
unless ENV["USING_AUTOSPEC"]
|
||||
|
||||
puts "Sam strongly recommends you Run: `bundle exec rake autospec` in favor of guard for specs, set USING_AUTOSPEC in .rvmrc to disable from Guard"
|
||||
|
Reference in New Issue
Block a user