lib/tasks/default.rb in dev-2.0.182 vs lib/tasks/default.rb in dev-2.0.183
- old
+ new
@@ -22,20 +22,20 @@
CLEAN.include('rake.default')
puts `git add -A` if(File.exists?('.gitignore'))
if(Git.has_changes?)# || !RAKE_DEFAULT_EXISTS)
puts 'Git changes detected.'
puts `git status`
- [:setup,:build,:test,:publish,:clean,:add,:commit,:push,:pull].each{|task| Rake::Task[task].invoke}
+ [:setup,:build,:test,:add,:commit,:publish,:clean,:push,:pull].each{|task| Rake::Task[task].invoke}
elsif !RAKE_DEFAULT_EXISTS
puts 'rake.default does not exist.'
- [:setup,:build,:test,:publish,:clean,:add,:commit,:push,:pull].each{|task| Rake::Task[task].invoke}
+ [:setup,:build,:test,:add,:commit,:publish,:clean,:push,:pull].each{|task| Rake::Task[task].invoke}
else
puts 'no changes detected.'
end
else
if(File.exists?('.svn'))
if(Svn.has_changes? || !File.exists?('rake.default'))
- [:setup,:build,:test,:publish,:clean,:add,:commit,:update].each{|task| Rake::Task[task].invoke}
+ [:setup,:build,:test,:add,:commit,:publish,:clean,:update].each{|task| Rake::Task[task].invoke}
else
puts 'no changes detected.'
end
else
[:setup,:build,:test,:publish].each{|task| Rake::Task[task].invoke}
\ No newline at end of file