mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-14 23:12:25 +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*/
|
/*global module:false*/
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
// eventually have sound...?
|
|
||||||
grunt.registerTask('compliment', function() {
|
|
||||||
grunt.log.writeln('You are awesome!');
|
|
||||||
});
|
|
||||||
|
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
lint: {
|
lint: {
|
||||||
files: ['grunt.js', 'src/*.js']
|
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: {
|
jshint: {
|
||||||
options: {
|
options: {
|
||||||
curly: true,
|
curly: true,
|
||||||
|
@ -55,9 +33,6 @@ module.exports = function(grunt) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//grunt.loadNpmTasks('grunt-jasmine-node');
|
|
||||||
|
|
||||||
// Default task.
|
// Default task.
|
||||||
grunt.registerTask('default', 'lint jasmine_node');
|
grunt.registerTask('default', 'lint');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue