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

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
node_modules
output
**/obj/**
**/bin/**

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
}));
});

15
package.json Normal file
View File

@@ -0,0 +1,15 @@
{
"name": "gulp-dotnet-cli-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"gulp": "^3.9.1",
"gulp-dotnet-cli": "^1.0.2"
}
}

8
src/gulptst/Class1.cs Normal file
View File

@@ -0,0 +1,8 @@
using System;
namespace gulptst
{
public class Class1
{
}
}

View File

@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
</Project>

1464
yarn.lock Normal file

File diff suppressed because it is too large Load Diff