1.1.0 • Published 9 years ago

gulp-gist v1.1.0

Weekly downloads
1
License
Apache 2.0
Repository
-
Last release
9 years ago

gulp-gist

Parse source code for comments and update related gists. Useful to test code snippets published on Gist.

You need to create a ~/.gistauth file with authentication info, e.g. "username:password".

Usage

Annotate your code to delimit Gists (they must already exist on github).

var toto

// startgist:12345-id-of-your-gist-123456:filename.js

// This will go to the gist
var sum = 2 + 2;

// endgist

// No longer in the gist

You can then use it in your gulpfile:

var gist = require('gulp-gist');

gulp.task('deploy:gist', ['test:doc'], function () {
    gulp.src("./test/doc.js")
        .pipe(gist());
});
1.1.0

9 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.5.0

10 years ago

0.1.0

10 years ago