Class: Setup
- Inherits:
-
Array
- Object
- Array
- Setup
- Defined in:
- lib/setup.rb
Instance Method Summary collapse
Instance Method Details
#add(command) ⇒ Object
14 15 16 |
# File 'lib/setup.rb', line 14 def add command self << command if(!include?(command)) end |
#update ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/setup.rb', line 4 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 |