Sha256: fdbac5c25a161f8148a14f1a8b0d8317d21948d07c22af9ba9670120f7324c62
Contents?: true
Size: 732 Bytes
Versions: 3
Compression:
Stored size: 732 Bytes
Contents
require_relative('./environment.rb') class Verify < Array def initialize update end def update puts "Verify.update" if(defined?(DEV_TASKS)) if(Environment.scm=='svn') latestRev=Environment.svn_latest_revision uri=DEV_TASKS[:scm_origin]+"@"+latestRev dep_dir="#{Environment.dev_root}/dep/#{DEV_TASKS[:relative_directory]}@#{latestRev}" if(!File.exists?(dep_dir)) add "svn export #{uri} #{dep_dir}@" add "<%Environment.rake('#{dep_dir}','build',true)%>" #add "<%Environment.rake('#{dep_dir}','test',true)%>" add "<%DEV_TASKS[:commands][:publish].update%>" end end end end def add command self << command if(!include?(command)) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dev_tasks-0.0.134 | lib/verify.rb |
dev_tasks-0.0.133 | lib/verify.rb |
dev_tasks-0.0.132 | lib/verify.rb |