Sha256: 4e5f4e31a87728ad43ecefb9984c43e1dd9b67864e25a8d3dcb5179d0f47696c
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
#require 'dev_environment' #require 'dev_commands' #require 'dev_git' #require 'dev_svn' #require 'dev_tasks' #require 'dev_projects' require 'rake/clean' Dir.glob("#{File.dirname(__FILE__)}/*.rb").each{|rb| #puts rb require_relative(rb) } CLOBBER.include('*.gem') #Tasks.initialize(COMMANDS) current=Projects.current if(!current.nil?) INFO.add "#{current[:name]} #{current[:url]}" end 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')) [:pull,:setup,:build,:test,:publish,:add,:commit,:push,:info].each{|task| Rake::Task[task].invoke} else if(File.exists?('.svn')) [:update,:setup,:build,:test,:publish,:add,:commit,:info].each{|task| Rake::Task[task].invoke} else [:setup,:build,:test,:publish,:info].each{|task| Rake::Task[task].invoke} end end end end end class Dev end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dev-2.0.47 | lib/dev.rb |
dev-2.0.46 | lib/dev.rb |
dev-2.0.45 | lib/dev.rb |