Skip to content

Commit

Permalink
Feature: CHANGELOG.md auto-updating
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-lahtinen committed Nov 17, 2015
1 parent 2529249 commit 10920d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
var gulp = require('gulp');
var uglify = require("gulp-uglify");
var rename = require('gulp-rename');

var changelog = require('gulp-conventional-changelog');

gulp.task('min', function() {
gulp.src('jquery.modal.js')
.pipe(uglify({preserveComments: 'license'}))
.pipe(rename('jquery.modal.min.js'))
.pipe(gulp.dest('.'));
});

gulp.task('changelog', function() {
gulp.src('CHANGELOG.md')
.pipe(changelog())
.pipe(gulp.dest('.'));
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"author": "Kyle Fox <[email protected]> (http:https://kylefox.ca/)",
"devDependencies": {
"gulp": "^3.9.0",
"gulp-conventional-changelog": "^0.7.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^1.4.1"
}
Expand Down

0 comments on commit 10920d7

Please sign in to comment.