Skip to content

Commit

Permalink
chore: grunt build task created
Browse files Browse the repository at this point in the history
  • Loading branch information
AidasK committed Dec 6, 2013
1 parent e995a29 commit 05fa237
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ module.exports = function(grunt) {
dest: 'build/flow.min.js'
}
},
concat: {
build: {
files: {
'build/flow.js': [
'src/flow.js'
]
}
}
},
coveralls: {
options: {
coverage_dir: 'coverage/'
Expand Down Expand Up @@ -71,7 +80,7 @@ module.exports = function(grunt) {
// Default task.
grunt.registerTask('default', ['test']);
// Release tasks
grunt.registerTask('min', ['uglify']);
grunt.registerTask('build', ['uglify', 'concat']);
// Development
grunt.registerTask('test', ["karma:travis", "coveralls"]);
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"karma-sauce-launcher": "~0.1.0",
"sinon": "~1.7.3",
"karma-coverage": "0.1.0",
"grunt-karma-coveralls": "~2.0.2"
"grunt-karma-coveralls": "~2.0.2",
"grunt-contrib-concat": "~0.3.0"
}
}

0 comments on commit 05fa237

Please sign in to comment.