Sha256: 3a339ec1e769feff63f0cf56a28afaacd54b7521ef71e6957d1e464cb128ed4f
Contents?: true
Size: 656 Bytes
Versions: 49
Compression:
Stored size: 656 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| if(!nuget_file.include?('/obj/')) package_commands = Nuget.get_build_commands nuget_file if(!package_commands.nil?) package_commands.each{|c| add_passive(c) } end end } end end
Version data entries
49 entries across 49 versions & 1 rubygems