Initial Commit - moved out of ubuntu_config.

This commit is contained in:
Nathan Broadbent
2011-10-18 00:18:17 +08:00
commit e634d0c4b5
24 changed files with 2592 additions and 0 deletions

15
Rakefile Normal file
View File

@@ -0,0 +1,15 @@
require 'rake'
desc "Run shUnit2 tests"
task :test do
Dir.glob("test/**/*_test.sh").each do |test|
["bash", "zsh"].each do |shell|
puts "== Running tests with [#{shell}]: #{test}"
@failed = !system("#{shell} #{test}") || @failed
end
end
exit @failed ? 1 : 0
end
task :default => ['test']