Sha256: 376914aa1c618734928dc7e7ba65cf2711178e4221fe4de26aa563cb261454c6
Contents?: true
Size: 438 Bytes
Versions: 13
Compression:
Stored size: 438 Bytes
Contents
require_relative('./environment.rb') class Upgrade < Array def initialize if(Environment.scm=='git' && Environment.branch=='develop') Dir.glob('dep/**/*.dll').each {|f| src=Environment.dev_root + "/" + f if(File.exist?(src) && File.mtime(src) > File.mtime(f)) self.add "<%FileUtils.cp('#{src}','#{f}')%>" end } end end def add command self << command if(!include?(command)) end end
Version data entries
13 entries across 13 versions & 1 rubygems