Commit ee0ce418 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add license to skd-all-min and sdk-all

parent 328cf157
......@@ -72,6 +72,7 @@ module.exports = function(grunt) {
var splitLine = '';
var tmp_sdk_path = 'sdk-js-tmp.js';
var sdkDstFolder = packageFile['compile']['sdk']['dst'];
var sdkAllMinDst = sdkDstFolder + '/sdk-all-min.js';
var sdkAllDst = sdkDstFolder + '/sdk-all.js';
var concat_src = [sdkAllDst];
var srcFiles = packageFile['compile']['sdk']['common'];
......@@ -130,9 +131,13 @@ module.exports = function(grunt) {
}
},
concat: {
sdkmin: {
src: ['license.js', sdkAllMinDst],
dest: sdkAllMinDst
},
sdk: {
options: {
banner: '(function(window, undefined) {',
banner: '<%= grunt.file.read("license.js") %>' + '\n(function(window, undefined) {',
footer: '})(window);'
},
src: concat_src,
......
......@@ -17,7 +17,6 @@
"../common/Private/license.js",
"../cell/api.js",
"../common/Build/License.js",
"../common/downloaderfiles.js",
"../common/NumFormat.js",
"../common/SerializeChart.js",
......
......@@ -2,7 +2,6 @@
"compile": {
"sdk": {
"common": [
"../common/Build/License.js",
"../common/browser.js",
"../common/commonDefines.js",
"../common/downloaderfiles.js",
......
......@@ -19,7 +19,6 @@
"../common/Private/license.js",
"../word/api.js",
"../common/Build/License.js",
"../common/downloaderfiles.js",
"../common/NumFormat.js",
"../common/SerializeChart.js",
......
/*
Copyright (c) Ascensio System SIA 2012-2016. All rights reserved
http://www.onlyoffice.com
Version: @@Version (build:@@Build)
*/
\ No newline at end of file
/**
* @license Copyright (c) Ascensio System SIA 2012-2016. All rights reserved
*
* http://www.onlyoffice.com
*
* Version: @@Version (build:@@Build)
*/
\ No newline at end of file
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