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,7 +160,9 @@ ...@@ -160,7 +160,9 @@
"../word/apiCommon.js", "../word/apiCommon.js",
"../cell/apiCommonExport.js", "../cell/apiCommonExport.js",
"../common/apiBase.js", "../common/apiBase.js",
"../cell/api.js", "../cell/api.js"
],
"private": [
"../common/Private/license.js", "../common/Private/license.js",
"../cell/Private/comments.js" "../cell/Private/comments.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,7 +142,11 @@ ...@@ -144,7 +142,11 @@
"../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"
],
"private": [
"../common/Private/license.js",
"../slide/Private/comments.js",
"../common/Private/Locks.js" "../common/Private/Locks.js"
], ],
"desktop": [ "desktop": [
......
...@@ -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,7 +143,15 @@ ...@@ -149,7 +143,15 @@
"../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"
],
"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" "../common/Private/Locks.js"
], ],
"desktop": [ "desktop": [
......
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