FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adding first pass at theme task · zenseo/JavaScriptButtons@6729639 · GitHub

Repository navigation

Commit 6729639

Browse files
committed
Adding first pass at theme task
1 parent d546739 commit 6729639

6 files changed

Lines changed: 785 additions & 6 deletions

File tree

‎Gruntfile.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = function (grunt) {
6464
watch: {
6565
scripts: {
6666
files: ['src/**/*.js'],
67-
tasks: ['browserify'],
67+
tasks: ['develop'],
6868
options: {
6969
spawn: false
7070
}
@@ -81,12 +81,14 @@ module.exports = function (grunt) {
8181
grunt.task.loadNpmTasks('grunt-mocha');
8282
grunt.task.loadNpmTasks('grunt-mocha-test');
8383
grunt.task.loadNpmTasks('grunt-browserify');
84+
grunt.task.loadTasks('./tasks');
8485

8586

8687
// Tasks
8788
grunt.registerTask('lint', ['jshint']);
8889
grunt.registerTask('test', ['lint', 'build', 'mochaTest', 'mocha']);
89-
grunt.registerTask('build', ['browserify', 'uglify', 'usebanner']);
90+
grunt.registerTask('develop', ['browserify', 'themify']);
91+
grunt.registerTask('build', ['browserify', 'themify', 'uglify', 'usebanner']);
9092

9193
};
9294

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL