mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[all] Rename
Rename web-apps-pro -> web-apps
This commit is contained in:
@ -11,8 +11,8 @@ node_js:
|
|||||||
before_script:
|
before_script:
|
||||||
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
|
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
|
||||||
- echo "Project branch $BRANCH"
|
- echo "Project branch $BRANCH"
|
||||||
- git clone -b develop https://github.com/ONLYOFFICE/web-apps-pro.git ../web-apps-pro
|
- git clone -b develop https://github.com/ONLYOFFICE/web-apps.git ../web-apps
|
||||||
- cd ../web-apps-pro && git checkout -B $BRANCH && cd -
|
- cd ../web-apps && git checkout -B $BRANCH && cd -
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: Check all files contains Copyright
|
- stage: Check all files contains Copyright
|
||||||
|
|||||||
10
Makefile
10
Makefile
@ -24,15 +24,15 @@ GRUNT_ENV += BUILD_NUMBER=$(BUILD_NUMBER)
|
|||||||
GRUNT_ENV += APP_COPYRIGHT="$(APP_COPYRIGHT)"
|
GRUNT_ENV += APP_COPYRIGHT="$(APP_COPYRIGHT)"
|
||||||
GRUNT_ENV += PUBLISHER_URL="$(PUBLISHER_URL)"
|
GRUNT_ENV += PUBLISHER_URL="$(PUBLISHER_URL)"
|
||||||
|
|
||||||
WEBAPPS_DIR := web-apps-pro
|
WEBAPPS_DIR := web-apps
|
||||||
|
|
||||||
WEBAPPS = $(OUTPUT)/$(WEBAPPS_DIR)
|
WEBAPPS = $(OUTPUT)/$(WEBAPPS_DIR)
|
||||||
NODE_MODULES = build/node_modules ../$(WEBAPPS_DIR)/build/node_modules
|
NODE_MODULES = build/node_modules ../$(WEBAPPS_DIR)/build/node_modules
|
||||||
#PACKAGE_JSON = build/package.json ../$(WEBAPPS_DIR)/build/package.json
|
#PACKAGE_JSON = build/package.json ../$(WEBAPPS_DIR)/build/package.json
|
||||||
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps-pro/apps/api/documents/api.js
|
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps/apps/api/documents/api.js
|
||||||
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps-pro/apps/documenteditor/main/app.js
|
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps/apps/documenteditor/main/app.js
|
||||||
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps-pro/apps/presentationeditor/main/app.js
|
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps/apps/presentationeditor/main/app.js
|
||||||
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps-pro/apps/spreadsheeteditor/main/app.js
|
WEBAPPS_FILES += ../$(WEBAPPS_DIR)/deploy/web-apps/apps/spreadsheeteditor/main/app.js
|
||||||
SDKJS_FILES += word/sdk-all.js
|
SDKJS_FILES += word/sdk-all.js
|
||||||
|
|
||||||
.PHONY: all desktop
|
.PHONY: all desktop
|
||||||
|
|||||||
@ -37,18 +37,18 @@ CopyScriptTo() {
|
|||||||
printf $'\r' > temp.txt
|
printf $'\r' > temp.txt
|
||||||
|
|
||||||
echo "Copy: word sdk-all.js"
|
echo "Copy: word sdk-all.js"
|
||||||
cat "../../web-apps-pro/vendor/xregexp/xregexp-all-min.js" "temp.txt" "../../web-apps-pro/vendor/underscore/underscore-min.js" "temp.txt" "../common/Native/native.js" "temp.txt" "../common/Native/Wrappers/common.js" "temp.txt" "../common/Native/jquery_native.js" "temp.txt" > "banners.js"
|
cat "../../web-apps/vendor/xregexp/xregexp-all-min.js" "temp.txt" "../../web-apps/vendor/underscore/underscore-min.js" "temp.txt" "../common/Native/native.js" "temp.txt" "../common/Native/Wrappers/common.js" "temp.txt" "../common/Native/jquery_native.js" "temp.txt" > "banners.js"
|
||||||
|
|
||||||
cat "banners.js" "../word/sdk-all-min.js" "../word/sdk-all.js" > $DOCUMENTS_PATH"/script.bin"
|
cat "banners.js" "../word/sdk-all-min.js" "../word/sdk-all.js" > $DOCUMENTS_PATH"/script.bin"
|
||||||
rm -f -r "banners.js"
|
rm -f -r "banners.js"
|
||||||
|
|
||||||
echo "Copy: cell sdk-all.js"
|
echo "Copy: cell sdk-all.js"
|
||||||
cat "../../web-apps-pro/vendor/xregexp/xregexp-all-min.js" "temp.txt" "../../web-apps-pro/vendor/underscore/underscore-min.js" "temp.txt" "../common/Native/native.js" "temp.txt" "../cell/native/common.js" "temp.txt" "../common/Native/jquery_native.js" "temp.txt" > "banners.js"
|
cat "../../web-apps/vendor/xregexp/xregexp-all-min.js" "temp.txt" "../../web-apps/vendor/underscore/underscore-min.js" "temp.txt" "../common/Native/native.js" "temp.txt" "../cell/native/common.js" "temp.txt" "../common/Native/jquery_native.js" "temp.txt" > "banners.js"
|
||||||
cat "banners.js" "../cell/sdk-all-min.js" "../cell/sdk-all.js" > $SPREADSHEETS_PATH"/script.bin"
|
cat "banners.js" "../cell/sdk-all-min.js" "../cell/sdk-all.js" > $SPREADSHEETS_PATH"/script.bin"
|
||||||
rm -f -r "banners.js"
|
rm -f -r "banners.js"
|
||||||
|
|
||||||
echo "Copy: slide sdk-all.js"
|
echo "Copy: slide sdk-all.js"
|
||||||
cat "../../web-apps-pro/vendor/xregexp/xregexp-all-min.js" "temp.txt" "../../web-apps-pro/vendor/underscore/underscore-min.js" "temp.txt" "../common/Native/native.js" "temp.txt" "../common/Native/Wrappers/common.js" "temp.txt" "../common/Native/jquery_native.js" "temp.txt" > "banners.js"
|
cat "../../web-apps/vendor/xregexp/xregexp-all-min.js" "temp.txt" "../../web-apps/vendor/underscore/underscore-min.js" "temp.txt" "../common/Native/native.js" "temp.txt" "../common/Native/Wrappers/common.js" "temp.txt" "../common/Native/jquery_native.js" "temp.txt" > "banners.js"
|
||||||
cat "banners.js" "../slide/sdk-all-min.js" "../slide/sdk-all.js" > $PRESENTATIONS_PATH"/script.bin"
|
cat "banners.js" "../slide/sdk-all-min.js" "../slide/sdk-all.js" > $PRESENTATIONS_PATH"/script.bin"
|
||||||
rm -f -r "banners.js"
|
rm -f -r "banners.js"
|
||||||
|
|
||||||
|
|||||||
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
<title>Unit Tests</title>
|
<title>Unit Tests</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/jquery/jquery.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
||||||
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
<script type="text/javascript" src="../../../web-apps/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
|
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
|
|
||||||
<title>Unit Tests</title>
|
<title>Unit Tests</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/jquery/jquery.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
||||||
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
<script type="text/javascript" src="../../../web-apps/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
|
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
|
|
||||||
<title>Unit Tests</title>
|
<title>Unit Tests</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/jquery/jquery.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
||||||
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
<script type="text/javascript" src="../../../web-apps/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
|
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
|
||||||
|
|||||||
@ -5,14 +5,14 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<title>Unit Test</title>
|
<title>Unit Test</title>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/jquery/jquery.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="../../vendor/qunit/qunit-1.11.0.css" type="text/css" media="screen" />
|
||||||
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
<script type="text/javascript" src="../../vendor/qunit/qunit-1.11.0.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../web-apps/vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../web-apps-pro/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
<script type="text/javascript" src="../../../web-apps/apps/spreadsheeteditor/sdk_dev_scripts.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
|
document.write('<script type="text/javascript" src="' + item + '"><\/script>');
|
||||||
|
|||||||
Reference in New Issue
Block a user