Skip to content

Commit

Permalink
Improve autotest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrick Wiebe committed Jul 20, 2012
1 parent aa43f26 commit e3d4f9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .autotest
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
require 'autotest/growl'

Autotest::Growl::clear_terminal = false

Autotest.add_hook(:initialize) {|at|
at.add_exception %r{\.git} # ignore Version Control System
at.add_exception %r{/\.} # ignore any file that starts with a . (dot)
Expand Down
2 changes: 1 addition & 1 deletion bin/autotest
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('ZenTest', 'autotest')
load Gem.bin_path('autotest-standalone', 'autotest')
3 changes: 2 additions & 1 deletion pacer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake'

s.add_development_dependency 'pacer-neo4j', '2.0.0.pre'
s.add_development_dependency 'autotest'
s.add_development_dependency 'autotest-standalone'
s.add_development_dependency 'autotest-growl'

s.files = `git ls-files`.split("\n") + [Pacer::JAR_PATH]
s.test_files = `git ls-files -- spec/*`.split("\n")
Expand Down

0 comments on commit e3d4f9e

Please sign in to comment.