init
This commit is contained in:
17
gulpfile.js
Normal file
17
gulpfile.js
Normal 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
|
||||
}));
|
||||
});
|
||||
Reference in New Issue
Block a user