lib/setup.rb in dev_tasks-0.0.113 vs lib/setup.rb in dev_tasks-0.0.114
- old
+ new
@@ -1,7 +1,17 @@
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
\ No newline at end of file