Initial Commit - moved out of ubuntu_config.
This commit is contained in:
15
Rakefile
Normal file
15
Rakefile
Normal 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']
|
||||
|
||||
Reference in New Issue
Block a user