GITLAB
陆恒
/ new_catcafe
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
da930f2565f0640911499b3cc790c135993f30ee
Authored by
陆恒
2020-04-18 15:58:07 +0800
1 parent
04a7c704
Exists in
master
提交脚本
Showing
3 changed files
with
15 additions
and
0 deletions
Show diff stats
src/HttpServer/main/build.sh
src/HttpServer/main/ll.sh
src/HttpServer/main/run.sh
Side-by-side Diff
Inline Diff
src/HttpServer/main/build.sh
0 → 100644
Wrap text
Diff comments
View file @
da930f2
...
...
@@ -0,0 +1,11 @@
1
+#!/usr/bin
2
+export GOPATH=/home/luheng/new_catcafe
3
+echo "begin dos2unix..."
4
+find ../ -name '*.go' | xargs dos2unix
5
+
6
+echo "begin build..."
7
+go build
8
+echo "end build..."
9
+echo "start run..."
10
+mv main CAFESRV
11
+sh run.sh
...
...
src/HttpServer/main/ll.sh
0 → 100644
Wrap text
Diff comments
View file @
da930f2
...
...
@@ -0,0 +1 @@
1
+ps -ef|grep CAFESRV
...
...
src/HttpServer/main/run.sh
0 → 100644
Wrap text
Diff comments
View file @
da930f2
...
...
@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+pkill CAFESRV
3
+nohup ./CAFESRV -conf_path=../conf/world.xml -logpath=./log &
...
...