mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-03 17:44:33 +02:00
grunt task also
This commit is contained in:
parent
8d2803e4e4
commit
71dfd200e7
1 changed files with 1 additions and 26 deletions
27
grunt.js
27
grunt.js
|
@ -1,32 +1,10 @@
|
|||
/*global module:false*/
|
||||
module.exports = function(grunt) {
|
||||
|
||||
// eventually have sound...?
|
||||
grunt.registerTask('compliment', function() {
|
||||
grunt.log.writeln('You are awesome!');
|
||||
});
|
||||
|
||||
grunt.initConfig({
|
||||
lint: {
|
||||
files: ['grunt.js', 'src/*.js']
|
||||
},
|
||||
/*
|
||||
jasmine_node: {
|
||||
specNameMatcher: "./spec", // load only specs containing specNameMatcher
|
||||
projectRoot: ".",
|
||||
requirejs: false,
|
||||
forceExit: true,
|
||||
jUnit: {
|
||||
report: false,
|
||||
savePath : "./build/reports/jasmine/",
|
||||
useDotNotation: true,
|
||||
consolidate: true
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
files: '<config:lint.files>',
|
||||
tasks: 'lint'
|
||||
},*/
|
||||
jshint: {
|
||||
options: {
|
||||
curly: true,
|
||||
|
@ -55,9 +33,6 @@ module.exports = function(grunt) {
|
|||
}
|
||||
});
|
||||
|
||||
//grunt.loadNpmTasks('grunt-jasmine-node');
|
||||
|
||||
// Default task.
|
||||
grunt.registerTask('default', 'lint jasmine_node');
|
||||
grunt.registerTask('default', 'lint');
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue