3.1.4 • Published 11 months ago
posh-gulp v3.1.4
Ever wanted to implement your gulp task directly with powershell?
Tasks
gulpfile.js
const gulp = require('gulp');
const pulp = require('posh-gulp');
gulp.task('build', (cb) => {
console.log('building');
cb();
});
pulp(gulp, './gulpfile.ps1');
gulp.task('default', gulp.series('posh:simple'));
gulpfile.ps1
Import-Module ./path-to-posh-gulp/Gulp
Add-Task "posh:empty"
Add-Task "posh:simple" ("build", "posh:empty") {
Write-Host 'simple powershell task'
}
Publish-Tasks $args
Output
Importing Tasks ./gulpfile.ps1
Using gulpfile [...]/gulpfile.js
Starting 'build'...
building
Finished 'build'
Starting 'posh:empty'...
Finished 'posh:empty'
Starting 'posh:simple'...
simple powershell task
Finished 'posh:simple'
Starting 'default'...
Finished 'default'
Development
Run powershell tests with pester (choco install):
Invoke-Pester
3.1.4
11 months ago
3.1.3
2 years ago
3.1.2
2 years ago
3.1.1
2 years ago
3.1.0
2 years ago
3.0.5
2 years ago
3.0.4
3 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
5 years ago
3.0.0
5 years ago
2.1.0
5 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.3.1
9 years ago
1.3.0
9 years ago
1.2.0
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago