Sha256: d1060be7a1ca2f6df3dbb6bb25dde4d12293de83c020203e7cddbf49b40c9d36
Contents?: true
Size: 886 Bytes
Versions: 15
Compression:
Stored size: 886 Bytes
Contents
puts __FILE__ if defined?(DEBUG) require_relative('info.rb') require_relative('../base/array.rb') require_relative('../base/projects.rb') require_relative('../base/timer.rb') if(!defined?(NO_DEFAULT_TASK)) desc 'perform project commands to push gem development' task :default do if(defined?(DEFAULT_TASKS)) DEFAULT_TASKS.each{|task| Rake::Task[task].invoke} else if(File.exists?('.git')) [:setup,:build,:test,:add,:commit,:publish,:clean,:push,:pull].each{|task| Rake::Task[task].invoke} else if(File.exists?('.svn')) [:setup,:build,:test,:add,:commit,:publish,:clean,:update].each{|task| Rake::Task[task].invoke} else [:setup,:build,:test,:publish].each{|task| Rake::Task[task].invoke} end end end puts "[:default] completed in #{TIMER.elapsed_str}" end # :default end
Version data entries
15 entries across 15 versions & 1 rubygems