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

Version Path
dev-2.1.82 lib/tasks/package.rb
dev-2.1.81 lib/tasks/package.rb
dev-2.1.80 lib/tasks/package.rb
dev-2.1.79 lib/tasks/package.rb
dev-2.1.78 lib/tasks/package.rb
dev-2.1.77 lib/tasks/package.rb
dev-2.1.76 lib/tasks/package.rb
dev-2.1.75 lib/tasks/package.rb
dev-2.1.74 lib/tasks/package.rb
dev-2.1.73 lib/tasks/package.rb
dev-2.1.72 lib/tasks/package.rb
dev-2.1.71 lib/tasks/package.rb
dev-2.1.70 lib/tasks/package.rb
dev-2.1.69 lib/tasks/package.rb
dev-2.1.68 lib/tasks/package.rb
dev-2.1.67 lib/tasks/package.rb
dev-2.1.66 lib/tasks/package.rb
dev-2.1.65 lib/tasks/package.rb
dev-2.1.64 lib/tasks/package.rb
dev-2.1.63 lib/tasks/package.rb