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.102 lib/tasks/package.rb
dev-2.1.101 lib/tasks/package.rb
dev-2.1.100 lib/tasks/package.rb
dev-2.1.99 lib/tasks/package.rb
dev-2.1.98 lib/tasks/package.rb
dev-2.1.97 lib/tasks/package.rb
dev-2.1.96 lib/tasks/package.rb
dev-2.1.95 lib/tasks/package.rb
dev-2.1.94 lib/tasks/package.rb
dev-2.1.93 lib/tasks/package.rb
dev-2.1.92 lib/tasks/package.rb
dev-2.1.91 lib/tasks/package.rb
dev-2.1.90 lib/tasks/package.rb
dev-2.1.89 lib/tasks/package.rb
dev-2.1.88 lib/tasks/package.rb
dev-2.1.87 lib/tasks/package.rb
dev-2.1.86 lib/tasks/package.rb
dev-2.1.85 lib/tasks/package.rb
dev-2.1.84 lib/tasks/package.rb
dev-2.1.83 lib/tasks/package.rb