...
This commit is contained in:
parent
e1e98564d4
commit
f38d29990c
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
**/node_modules
|
**/node_modules
|
||||||
|
third_party
|
||||||
|
config
|
||||||
|
target
|
||||||
|
25
boundle.sh
Executable file
25
boundle.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
source ./common.sh
|
||||||
|
|
||||||
|
cd ./pomelo && npm install
|
||||||
|
echo '============ pomelo npm installed ============'
|
||||||
|
cd ..
|
||||||
|
cd ./pomelo-globalchannel-plugin && npm install
|
||||||
|
echo '============ pomelo-globalchannel-plugi npm installed ============'
|
||||||
|
cd ..
|
||||||
|
cd ./game-server && npm install
|
||||||
|
echo '============ game-server npm installed ============'
|
||||||
|
cd ..
|
||||||
|
cd ./proxy && npm install
|
||||||
|
echo '============ proxy npm installed ============'
|
||||||
|
cd ..
|
||||||
|
cd ./web-server && npm install
|
||||||
|
echo '============ web-server npm installed ============'
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
|
||||||
|
dir_name=`basename $PWD`
|
||||||
|
package_name=${dir_name}.tar.gz
|
||||||
|
|
||||||
|
tar --exclude=*.git -chzf target/${package_name} pomelo pomelo-globalchannel-plugin game-server shared proxy common.sh reload.sh restart.sh config ${EXT_PKG_FILES}
|
||||||
|
|
||||||
|
echo 'success'
|
6
common.sh
Normal file
6
common.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
PROJECT_NAME=r2
|
||||||
|
SOURCE_PATH=.
|
||||||
|
SCRIPT=r2
|
||||||
|
EXT_PKG_FILES=r2
|
||||||
|
PRE_COMPILE_CMD=""
|
||||||
|
POST_COMPILE_CMD=""
|
0
restart.sh
Normal file
0
restart.sh
Normal file
13
web-server/package-lock.json
generated
13
web-server/package-lock.json
generated
@ -33,6 +33,14 @@
|
|||||||
"nodemon": "^1.19.1"
|
"nodemon": "^1.19.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"../shared": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"license": "ISC",
|
||||||
|
"dependencies": {
|
||||||
|
"mysql2": "^3.3.0",
|
||||||
|
"redis": "^4.6.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@babel/runtime": {
|
"node_modules/@babel/runtime": {
|
||||||
"version": "7.21.5",
|
"version": "7.21.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.5.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.5.tgz",
|
||||||
@ -3377,9 +3385,8 @@
|
|||||||
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
|
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
|
||||||
},
|
},
|
||||||
"node_modules/shared": {
|
"node_modules/shared": {
|
||||||
"version": "1.0.5",
|
"resolved": "../shared",
|
||||||
"resolved": "file:../shared",
|
"link": true
|
||||||
"license": "ISC"
|
|
||||||
},
|
},
|
||||||
"node_modules/shebang-command": {
|
"node_modules/shebang-command": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user