GITLAB
陆恒
/ HappyCat
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
b7b2d64bf5a12785d4aa238bda968c26c42a1995
Authored by
陆恒
2020-06-09 17:44:38 +0800
1 parent
e11a53ba
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 @
b7b2d64
...
...
@@ -0,0 +1,11 @@
1
+#!/usr/bin
2
+export GOPATH=/home/luheng/happycat
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 HAPPYCATSRV
11
+sh run.sh
...
...
src/HttpServer/main/ll.sh
0 → 100644
Wrap text
Diff comments
View file @
b7b2d64
...
...
@@ -0,0 +1 @@
1
+ps -ef|grep HAPPYCATSRV
...
...
src/HttpServer/main/run.sh
0 → 100644
Wrap text
Diff comments
View file @
b7b2d64
...
...
@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+pkill HAPPYCATSRV
3
+nohup ./HAPPYCATSRV -conf_path=../conf/world.xml -logpath=./log &
...
...