gulp-tfs-checkout

1.1.2 • Public • Published

gulp-tfs-checkout

NPM version build status Coverage Status Downloads

Installation

$ npm install gulp-tfs-checkout

Usage

Based on the node-package tfs-unlock.

var gulp = require('gulp');
var tfs = require('gulp-tfs-checkout');
 
gulp.task('checkout', function() {
    return gulp.src([
            'Website/Layout/js/*',
            'Website/Layout/css/*'
        ])
        .pipe(tfs());
});
 
// Add 'checkout' task as dependency to other tasks
 
gulp.task('sass', ['checkout'], function() {
    ...
});
 
// Or run it as a default task
gulp.task('default', ['checkout', '...', '...', '...']);
 

Why?

I was tired of having to checkout files that were going to be manipulated manually. The npm package 'tfs-unlock' can't parse a directory, so I wrote this little plugin that can parse a directory, and performs the tfs-task on each file.

Roadmap / help wanted

  • I'd like to reach a higher coverage score, but I'm really lost when it comes to unit-testing. If anyone wants to contribute with some unit-testing, I'd be really happy.

License

MIT

Package Sidebar

Install

npm i gulp-tfs-checkout

Weekly Downloads

87

Version

1.1.2

License

MIT

Unpacked Size

5.39 kB

Total Files

4

Last publish

Collaborators

  • madsmadsdk