Sha256: f3aa19bd3f7dadca10d401fe89e13375ac673454724d46a6c95b783be28a2f68

Contents?: true

Size: 340 Bytes

Versions: 38

Compression:

Stored size: 340 Bytes

Contents

class Setup < Array

  def update
    if(defined?(DEV_TASKS))
      DEV_TASKS[:svn_exports].each{|k,v|
	    if(!File.exists?("#{Environment.dev_root}/dep/#{k}"))
	      add "svn export #{v} #{Environment.dev_root}/dep/#{k}"
        end
	  }
	end
  end

  def add command
    self << command if(!include?(command))
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
dev_tasks-0.0.151 lib/setup.rb
dev_tasks-0.0.150 lib/setup.rb
dev_tasks-0.0.149 lib/setup.rb
dev_tasks-0.0.148 lib/setup.rb
dev_tasks-0.0.147 lib/setup.rb
dev_tasks-0.0.146 lib/setup.rb
dev_tasks-0.0.145 lib/setup.rb
dev_tasks-0.0.144 lib/setup.rb
dev_tasks-0.0.143 lib/setup.rb
dev_tasks-0.0.142 lib/setup.rb
dev_tasks-0.0.141 lib/setup.rb
dev_tasks-0.0.140 lib/setup.rb
dev_tasks-0.0.139 lib/setup.rb
dev_tasks-0.0.138 lib/setup.rb
dev_tasks-0.0.137 lib/setup.rb
dev_tasks-0.0.136 lib/setup.rb
dev_tasks-0.0.135 lib/setup.rb
dev_tasks-0.0.134 lib/setup.rb
dev_tasks-0.0.133 lib/setup.rb
dev_tasks-0.0.132 lib/setup.rb