phaser/Gruntfile.js
Paul a7044a6cb6 PIXI-in-Docs fixups
- Removed hard-coded path (oops)
- Added grunt task (oops)
- Added EOLs
2014-11-03 11:30:33 -08:00

24 lines
632 B
JavaScript

module.exports = function (grunt) {
var loadConfig = require('load-grunt-config');
loadConfig(grunt, {
configPath: __dirname + '/tasks/options',
config: {
release_dir: 'build',
compile_dir: 'dist',
banner: require('fs').readFileSync(__dirname + '/tasks/banner.txt', 'utf8')
}
});
grunt.loadTasks('tasks');
grunt.registerTask('default', ['build']);
grunt.registerTask('build', ['clean', 'jshint', 'concat', 'uglify']);
grunt.registerTask('dist', ['replace', 'build', 'copy']);
grunt.registerTask('docs', ['pixidoc', 'builddoc']);
};