Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mustache/mustache
base: master
...
head fork: alloy/mustache
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 1 commit comment
  • 1 contributor
Commits on Nov 29, 2009
@alloy alloy Updated .kick file for Kicker 2.2.0. d34fec9
Commits on Dec 09, 2009
@alloy alloy Also run all tests if any file in ./examples is touched.
And make sure that the Ruby recipe does not get the chance to match files in ./lib.
a2cb1e2
Showing with 10 additions and 24 deletions.
  1. +9 −23 .kick
  2. +1 −1  Rakefile
View
32 .kick
@@ -1,26 +1,12 @@
-# take control of the growl notifications
-module GrowlHacks
- def growl(type, subject, body, *args, &block)
- case type
- when Kicker::GROWL_NOTIFICATIONS[:succeeded]
- puts subject = "Success"
- body = body.split("\n").last
- when Kicker::GROWL_NOTIFICATIONS[:failed]
- subject = "Failure"
- puts body
- body = body.split("\n").last
- else
- return nil
- end
- super(type, subject, body, *args, &block)
+Kicker.silent = true
+
+process do |files|
+ tests = files.take_and_map do |file|
+ # Run _all_ tests if anything in lib/examples changes.
+ Dir.glob('test/**/*_test.rb') if file =~ /^(lib|examples)\//
end
+
+ Ruby.run_tests(tests)
end
-Kicker.send :extend, GrowlHacks
-
-# no logging
-Kicker::Utils.module_eval do
- def log(message)
- nil
- end
-end
+recipe :ruby
View
2  Rakefile
@@ -15,7 +15,7 @@ task :gem => [ :gemspec, :build ]
desc "Launch Kicker (like autotest)"
task :kicker do
puts "Kicking... (ctrl+c to cancel)"
- exec "kicker -e rake test lib examples"
+ exec "kicker"
end
begin

Showing you all comments on commits in this comparison.

@defunkt
Owner

What about the examples directory?

Something went wrong with that request. Please try again.