forked from SatyaMutyala/F1Model2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
36 lines (32 loc) · 1.34 KB
/
Gruntfile.js
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
32
33
34
35
36
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-war');
grunt.initConfig({
/*
* Build a WAR (web archive) without Maven or the JVM installed.
*/
war: {
target: {
options: {
war_dist_folder: 'public',
war_verbose: true,
war_name: 'adminTool',
webxml_welcome: 'index.html',
webxml_display_name: 'adminTool',
webxml_mime_mapping: [{
extension: 'woff',
mime_type: 'application/font-woff'
}]/*,
webxml_webapp_extras: function() {
return "<servlet><servlet-name>default</servlet-name><servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class><init-param><param-name>debug</param-name><param-value>0</param-value></init-param><init-param><param-name>listings</param-name><param-value>true</param-value></init-param><load-on-startup>1</load-on-startup></servlet><servlet-mapping><servlet-name>default</servlet-name><url-pattern>/profileadminapp/adminTool</url-pattern></servlet-mapping>";
}*/
},
files: [{
expand: true,
cwd: 'public',
src: ['**'],
dest: ''
}]
}
}
});
};