[PE mobile] Fixed build config.

This commit is contained in:
Alexander Yuzhin 2017-01-25 11:23:14 +03:00
parent beec096e9d
commit 627517cb5f

View file

@ -216,46 +216,153 @@
}
},
"mobile": {
"clean": [
"../deploy/web-apps/apps/presentationeditor/mobile"
],
"js": {
"src": [
"../apps/common/Gateway.js",
"../apps/common/Analytics.js",
"../apps/common/mobile/loader.js",
"../apps/presentationeditor/mobile/app/view/Main.js",
"../apps/presentationeditor/mobile/app/view/phone/toolbar/View.js",
"../apps/presentationeditor/mobile/app/view/phone/Main.js",
"../apps/presentationeditor/mobile/app/view/tablet/toolbar/View.js",
"../apps/presentationeditor/mobile/app/view/tablet/Main.js",
"../apps/presentationeditor/mobile/app/controller/Presentation.js",
"../apps/presentationeditor/mobile/app/controller/Main.js",
"../apps/presentationeditor/mobile/app/controller/phone/Main.js",
"../apps/presentationeditor/mobile/app/controller/tablet/Main.js",
"../apps/presentationeditor/mobile/app/controller/toolbar/View.js",
"../apps/presentationeditor/mobile/app/profile/Phone.js",
"../apps/presentationeditor/mobile/app/profile/Tablet.js",
"../apps/common/locale.js",
"../apps/presentationeditor/mobile/app.js"
"clean": {
"deploy": [
"../deploy/web-apps/apps/presentationeditor/mobile"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/app-all.js"
"template-backup": [
"../apps/presentationeditor/mobile/app/template/backup"
]
},
"css": {
"normal": {
"src": [
"../apps/presentationeditor/mobile/resources/css/application-normal.css"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-normal.css"
},
"retina": {
"src": [
"../apps/presentationeditor/mobile/resources/css/application-retina.css"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/application-retina.css"
"js": {
"requirejs": {
"options": {
"name": "../apps/presentationeditor/mobile/app.js",
"out": "../deploy/web-apps/apps/presentationeditor/mobile/app.js",
"baseUrl": "../apps/",
"inlineText": true,
"findNestedDependencies": true,
"preserveLicenseComments": false,
"optimizeAllPluginResources": true,
"paths": {
"jquery": "../vendor/jquery/jquery",
"underscore": "../vendor/underscore/underscore",
"backbone": "../vendor/backbone/backbone",
"framework7": "../vendor/framework7/js/framework7",
"text": "../vendor/requirejs-text/text",
"xregexp": "empty:",
"sockjs": "empty:",
"jszip": "empty:",
"jszip-utils": "empty:",
"jsrsasign": "empty:",
"coapisettings": "empty:",
"allfonts": "empty:",
"sdk": "empty:",
"api": "empty:",
"core": "common/main/lib/core/application",
"extendes": "common/mobile/utils/extendes",
"notification": "common/main/lib/core/NotificationCenter",
"localstorage": "common/main/lib/util/LocalStorage",
"analytics": "common/Analytics",
"gateway": "common/Gateway",
"locale": "common/locale",
"irregularstack": "common/IrregularStack",
"sharedsettings": "common/mobile/utils/SharedSettings"
},
"shim": {
"framework7": {
"exports": "Framework7"
},
"underscore": {
"exports": "_"
},
"backbone": {
"deps": [
"underscore",
"jquery"
],
"exports": "Backbone"
},
"notification": {
"deps": [
"backbone"
]
},
"core": {
"deps": [
"backbone",
"notification",
"irregularstack",
"sharedsettings"
]
},
"extendes": {
"deps": [
"underscore",
"jquery",
"framework7"
]
},
"sdk": {
"deps": [
"jquery",
"underscore",
"coapisettings",
"allfonts",
"xregexp",
"sockjs",
"jszip",
"jszip-utils",
"jsrsasign"
]
},
"gateway": {
"deps": [
"jquery"
]
},
"analytics": {
"deps": [
"jquery"
]
}
}
}
}
},
"css": {
"ios": {
"src": [
"../apps/presentationeditor/mobile/resources/css/app-ios.css"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-ios.css"
},
"material": {
"src": [
"../apps/presentationeditor/mobile/resources/css/app-material.css"
],
"dist": "../deploy/web-apps/apps/presentationeditor/mobile/resources/css/app-material.css"
}
},
"htmlmin": {
"templates": [
{
"expand": true,
"cwd": "../apps/presentationeditor/mobile/app/template/",
"src": "*.template",
"dest": "../apps/presentationeditor/mobile/app/template/"
}
]
},
"copy": {
"template-backup": [
{
"expand": true,
"cwd": "../apps/presentationeditor/mobile/app/template/",
"src": "*.template",
"dest": "../apps/presentationeditor/mobile/app/template/backup/",
"filter": "isFile"
}
],
"template-restore": [
{
"expand": true,
"cwd": "../apps/presentationeditor/mobile/app/template/backup/",
"src": "*.template",
"dest": "../apps/presentationeditor/mobile/app/template/",
"filter": "isFile"
}
],
"index-page": {
"../deploy/web-apps/apps/presentationeditor/mobile/index.html": "../apps/presentationeditor/mobile/index.html.deploy"
},