-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.js
More file actions
32 lines (26 loc) · 925 Bytes
/
Gruntfile.js
File metadata and controls
32 lines (26 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Used by `grunt` - see gruntjs.com.
*
* The purpose of this file is to help with working on the eden-js grammar, the
* 'jison' task will generate the parser, the default task runs a web server
* for testing the grammar and automatically regenerates the parser when the
* grammar file changes.
*/
'use strict';
module.exports = function (grunt) {
grunt.initConfig({
'gh-pages': {
src: ['index.html',
'scripts/**',
'.nojekyll',
'node_modules/@construit/highlighter/css/construit-highlighter.css',
'node_modules/@construit/scriptbox/css/interpreter.css',
'node_modules/@construit/scriptbox/css/gutter.css',
'node_modules/@construit/scriptbox/construit-scriptbox.min.js',
'node_modules/@construit/runtime/construit-runtime.min.js',
'node_modules/java-parser/javaparser7.js']
},
});
grunt.loadNpmTasks('grunt-gh-pages');
grunt.registerTask('default', ['gh-pages']);
};