Sha256: 3cb0adf3dd848fc750fa66dff837ef9d7004c915315064c867fc2b25e00ff25d
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
# frozen_string_literal: true puts __FILE__ if defined?(DEBUG) require_relative("../base/environment") 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 do |nuget_file| next if nuget_file.include?("/obj/") package_commands = Nuget.get_build_commands nuget_file next if package_commands.nil? package_commands.each do |c| add_passive(c) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dev-2.1.154 | lib/tasks/package.rb |