Skip to content

Commit cd6cd1d

Browse files
committed
Merge branch 'grunt-conventional-changelog-support' of git://github.com/PascalPrecht/ui-router into PascalPrecht-grunt-conventional-changelog-support
Conflicts: Gruntfile.js package.json
2 parents dc75ea0 + d5fba25 commit cd6cd1d

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

Gruntfile.js

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,23 @@ module.exports = function (grunt) {
7777
}
7878
}
7979
},
80-
karma: {
81-
options: {
82-
configFile: 'config/karma.js'
83-
},
84-
unit: {
85-
singleRun: true
80+
karma: {
81+
options: {
82+
configFile: 'config/karma.js'
83+
},
84+
unit: {
85+
singleRun: true
86+
},
87+
background: {
88+
background: true,
89+
browsers: [ grunt.option('browser') || 'PhantomJS' ]
90+
}
8691
},
87-
background: {
88-
background: true,
89-
browsers: [ grunt.option('browser') || 'PhantomJS' ]
92+
changelog: {
93+
options: {
94+
dest: 'CHANGELOG.md'
95+
}
9096
}
91-
}
9297
});
9398

9499
grunt.registerTask('default', ['build', 'jshint', 'karma:unit']);

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"karma-coffee-preprocessor": "~0.1.0",
5858
"karma": "~0.10.1",
5959
"karma-phantomjs-launcher": "~0.1.0",
60-
"load-grunt-tasks": "~0.2.0"
60+
"load-grunt-tasks": "~0.2.0",
61+
"grunt-conventional-changelog": "~1.0.0"
6162
}
6263
}

0 commit comments

Comments
 (0)