Sha256: 8c31a958ab4866ae1344272de3368ff671588a7520b4d8d75d6f5a6349ad7456
Contents?: true
Size: 622 Bytes
Versions: 42
Compression:
Stored size: 622 Bytes
Contents
puts __FILE__ if defined?(DEBUG) require_relative('../base/environment.rb') NUGET_FILES=FileList.new('**/*.nuspec') desc 'performs package commands' task :package do Tasks.execute_task :package;end class Package < Array def update update_nuget if Environment.windows? end def update_nuget puts "Package scanning for nuget files" if Environment.default.debug? NUGET_FILES.each{|nuget_file| package_commands = Nuget.get_build_commands nuget_file if(!package_commands.nil?) package_commands.each{|c| add_passive(c) } end } end end
Version data entries
42 entries across 42 versions & 1 rubygems