update Gruntfile.js to create an app.min.js for projectmanager

This commit is contained in:
Ralf Becker 2016-03-23 08:20:38 +00:00
parent 63a69c03cd
commit a03748fbb2
2 changed files with 10 additions and 2 deletions

View File

@ -159,8 +159,6 @@ module.exports = function (grunt) {
"api\/js\/etemplate\/et2_dataview.js", "api\/js\/etemplate\/et2_dataview.js",
"api\/js\/etemplate\/et2_extension_nextmatch.js", "api\/js\/etemplate\/et2_extension_nextmatch.js",
"api\/js\/etemplate\/et2_widget_favorites.js", "api\/js\/etemplate\/et2_widget_favorites.js",
"phpgwapi\/js\/dhtmlxGantt\/codebase\/dhtmlxgantt.js",
"api\/js\/etemplate\/et2_widget_gantt.js",
"api\/js\/etemplate\/et2_widget_html.js", "api\/js\/etemplate\/et2_widget_html.js",
"phpgwapi\/js\/ckeditor\/adapters\/jquery.js", "phpgwapi\/js\/ckeditor\/adapters\/jquery.js",
"api\/js\/etemplate\/et2_widget_htmlarea.js", "api\/js\/etemplate\/et2_widget_htmlarea.js",
@ -250,6 +248,15 @@ module.exports = function (grunt) {
"pixelegg\/js\/fw_pixelegg.js" "pixelegg\/js\/fw_pixelegg.js"
] ]
} }
},
projectmanager: {
files: {
"projectmanager\/js\/app.min.js": [
"projectmanager\/js\/dhtmlxGantt\/codebase\/dhtmlxgantt.js",
"projectmanager\/js\/et2_widget_gantt.js",
"projectmanager\/js\/app.js"
]
}
} }
} }
}); });

View File

@ -2162,6 +2162,7 @@ abstract class egw_framework
'pixelegg' => '/pixelegg/js/fw_pixelegg.js', 'pixelegg' => '/pixelegg/js/fw_pixelegg.js',
'calendar' => '/calendar/js/app.js', 'calendar' => '/calendar/js/app.js',
'mail' => '/mail/js/app.js', 'mail' => '/mail/js/app.js',
'projectmanager' => '/projectmanager/js/app.js',
) as $bundle => $file) ) as $bundle => $file)
{ {
if (@file_exists(EGW_SERVER_ROOT.$file)) if (@file_exists(EGW_SERVER_ROOT.$file))