0.6.5 • Published 8 years ago

gulp-proactive-nugetpack v0.6.5

Weekly downloads
19
License
ISC
Repository
-
Last release
8 years ago

gulp-proactive-nugetpack is a module to easily pack a nuspec file in the solution root.

NPM

Pre-requisistes

Install

npm install --save-dev gulp-proactive-nugetpack

To run tests

npm test

Usage

Javascript - simple

var proActiveNuGet = require('gulp-proactive-nugetpack');

// BuildConfiguration <debug,release> (default is debug)
// Label (default is an empty string)
proActiveNuGet.pack(BuildConfiguration, Label);

Javascript - With gulp and gulp-param

// npm install --save-dev gulp gulp-param

var gulp = require('gulp');

// converts parameters from the Command Line Interface to named paramaters. Enables integration with the Build Servers
var param = require('gulp-param')(require('gulp'), process.argv);
      
//Accepts parameter --BuildConfiguration <debug,release> from the CLI. variable is magically created by gulp-param
//Accepts parameter --Label <string> from the CLI. variable is magically created by gulp-param
// ex from CLI: gulp nuget-pack --BuildConfiguration "debug" --Label "MyLabel"
gulp.task('nuget-pack', function (BuildConfiguration, Label) {
    var proActiveNuGet = require('gulp-proactive-nugetpack');
    proActiveNuGet.pack(BuildConfiguration, Label);
});
0.6.5

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago