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.131 lib/setup.rb
dev_tasks-0.0.130 lib/setup.rb
dev_tasks-0.0.129 lib/setup.rb
dev_tasks-0.0.128 lib/setup.rb
dev_tasks-0.0.127 lib/setup.rb
dev_tasks-0.0.126 lib/setup.rb
dev_tasks-0.0.125 lib/setup.rb
dev_tasks-0.0.124 lib/setup.rb
dev_tasks-0.0.123 lib/setup.rb
dev_tasks-0.0.122 lib/setup.rb
dev_tasks-0.0.121 lib/setup.rb
dev_tasks-0.0.120 lib/setup.rb
dev_tasks-0.0.119 lib/setup.rb
dev_tasks-0.0.118 lib/setup.rb
dev_tasks-0.0.117 lib/setup.rb
dev_tasks-0.0.116 lib/setup.rb
dev_tasks-0.0.115 lib/setup.rb
dev_tasks-0.0.114 lib/setup.rb