Commit 0ae1f82b authored by Alexander.Trofimov's avatar Alexander.Trofimov

add -private option

parent 180f0f06
...@@ -158,7 +158,6 @@ module.exports = function(grunt) { ...@@ -158,7 +158,6 @@ module.exports = function(grunt) {
warning_level: 'QUIET' warning_level: 'QUIET'
}; };
if (formatting) { if (formatting) {
console.log('formatting');
definesOpt['formatting'] = sdkOpt['formatting'] = formatting; definesOpt['formatting'] = sdkOpt['formatting'] = formatting;
} }
if (!nomap) { if (!nomap) {
...@@ -166,8 +165,10 @@ module.exports = function(grunt) { ...@@ -166,8 +165,10 @@ module.exports = function(grunt) {
sdkOpt['property_renaming_report'] = packageFile['compile']['sdk']['log'] + '/property.map'; sdkOpt['property_renaming_report'] = packageFile['compile']['sdk']['log'] + '/property.map';
} }
if (grunt.option('private')) {
srcFiles.concat(packageFile['compile']['sdk']['private']);
}
if (grunt.option('desktop')) { if (grunt.option('desktop')) {
console.log('desktop');
srcFiles.concat(packageFile['compile']['sdk']['desktop']); srcFiles.concat(packageFile['compile']['sdk']['desktop']);
} }
......
...@@ -160,10 +160,12 @@ ...@@ -160,10 +160,12 @@
"../word/apiCommon.js", "../word/apiCommon.js",
"../cell/apiCommonExport.js", "../cell/apiCommonExport.js",
"../common/apiBase.js", "../common/apiBase.js",
"../cell/api.js", "../cell/api.js"
"../common/Private/license.js",
"../cell/Private/comments.js"
], ],
"private": [
"../common/Private/license.js",
"../cell/Private/comments.js"
],
"desktop": [ "desktop": [
"../common/Local/common.js", "../common/Local/common.js",
"../cell/Local/api.js" "../cell/Local/api.js"
......
...@@ -134,8 +134,6 @@ ...@@ -134,8 +134,6 @@
"../slide/Editor/Format/GraphicFrame.js", "../slide/Editor/Format/GraphicFrame.js",
"../common/apiBase.js", "../common/apiBase.js",
"../slide/api.js", "../slide/api.js",
"../common/Private/license.js",
"../slide/Private/comments.js",
"../slide/apiCommon.js", "../slide/apiCommon.js",
"../word/apiCommon.js", "../word/apiCommon.js",
"../slide/apiExport.js", "../slide/apiExport.js",
...@@ -144,9 +142,13 @@ ...@@ -144,9 +142,13 @@
"../cell/model/WorkbookElems.js", "../cell/model/WorkbookElems.js",
"../cell/model/Workbook.js", "../cell/model/Workbook.js",
"../cell/model/CellInfo.js", "../cell/model/CellInfo.js",
"../common/AdvancedOptions.js", "../common/AdvancedOptions.js"
"../common/Private/Locks.js"
], ],
"private": [
"../common/Private/license.js",
"../slide/Private/comments.js",
"../common/Private/Locks.js"
],
"desktop": [ "desktop": [
"../common/Local/common.js", "../common/Local/common.js",
"../slide/Local/api.js" "../slide/Local/api.js"
......
...@@ -121,12 +121,6 @@ ...@@ -121,12 +121,6 @@
"../word/apiDefines.js", "../word/apiDefines.js",
"../common/apiBase.js", "../common/apiBase.js",
"../word/api.js", "../word/api.js",
"../common/Private/license.js",
"../common/Private/versionHistory.js",
"../word/Private/comments.js",
"../word/Private/StyleManager.js",
"../word/Private/MailMerge.js",
"../word/Private/TrackRevisions.js",
"../word/apiCommon.js", "../word/apiCommon.js",
"../word/apiExport.js", "../word/apiExport.js",
"../word/document/empty.js", "../word/document/empty.js",
...@@ -149,9 +143,17 @@ ...@@ -149,9 +143,17 @@
"../cell/model/WorkbookElems.js", "../cell/model/WorkbookElems.js",
"../cell/model/Workbook.js", "../cell/model/Workbook.js",
"../cell/model/CellInfo.js", "../cell/model/CellInfo.js",
"../common/AdvancedOptions.js", "../common/AdvancedOptions.js"
"../common/Private/Locks.js"
], ],
"private": [
"../common/Private/license.js",
"../common/Private/versionHistory.js",
"../word/Private/comments.js",
"../word/Private/StyleManager.js",
"../word/Private/MailMerge.js",
"../word/Private/TrackRevisions.js",
"../common/Private/Locks.js"
],
"desktop": [ "desktop": [
"../common/Local/common.js", "../common/Local/common.js",
"../word/Local/api.js" "../word/Local/api.js"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment