This commit is contained in:
Tommy Parnell
2018-01-03 22:55:26 -05:00
commit a0b41d465e
6 changed files with 1515 additions and 0 deletions

17
gulpfile.js Normal file
View File

@@ -0,0 +1,17 @@
let {restore, build, pack} = require('gulp-dotnet-cli');
const path = require('path');
let gulp = require('gulp');
let nupkgPath = path.resolve(process.cwd(), 'output');
console.log(nupkgPath);
gulp.task('pack', ()=>{
return gulp.src('**/*.csproj')
.pipe(restore())
.pipe(build())
.pipe(pack({
output: nupkgPath,
noBuild: true,
noRestore: true,
echo: true
}));
});