mirror of
https://github.com/wassname/phaser.git
synced 2026-07-13 01:00:12 +08:00
35 lines
622 B
JavaScript
35 lines
622 B
JavaScript
'use strict';
|
|
|
|
module.exports = function(grunt) {
|
|
|
|
// Project configuration.
|
|
grunt.initConfig({
|
|
jshint: {
|
|
options : {
|
|
jshintrc : '.jshintrc'
|
|
},
|
|
all: ['Gruntfile.js', 'tasks/**/*.js', 'test/**/*.js']
|
|
},
|
|
open : {
|
|
dev : {
|
|
path : 'http://127.0.0.1/~jsoverson/'
|
|
},
|
|
google : {
|
|
url : 'http://google.com/'
|
|
},
|
|
file : {
|
|
file : '/etc/hosts'
|
|
}
|
|
},
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
|
|
// Load local tasks.
|
|
grunt.loadTasks('tasks');
|
|
|
|
// Default task.
|
|
grunt.registerTask('default', ['jshint','open']);
|
|
|
|
};
|