Skip to content

Commit

Permalink
Updated Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
DAddYE committed Nov 18, 2010
1 parent a1511a5 commit a106a1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ end

desc "Commits all staged files"
task :commit, [:message] do |t, args|
system(%Q[git commit -a -m "#{args.message}"])
sh "git commit -a -m \"#{args.message}\""
end

desc "Bumps the version number based on given version"
Expand Down Expand Up @@ -106,9 +106,9 @@ end
desc "Run tests for all padrino stack gems"
task :test do
# Omit the padrino metagem since no tests there
GEM_PATHS[0..-2].each do |gem|
GEM_PATHS[0..-2].each do |g|
# Hardcode the 'cd' into the command and do not use Dir.chdir because this causes random tests to fail
sh "cd #{File.join(ROOT, gem)} && #{Gem.ruby} -S rake test", :verbose => true
sh "cd #{File.join(ROOT, g)} && #{Gem.ruby} -S rake test", :verbose => true
end
end

Expand Down

0 comments on commit a106a1c

Please sign in to comment.