add start.py stop.py
This commit is contained in:
parent
8090c12ef2
commit
85e3470980
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
screenlog.*
|
9
start.py
Executable file
9
start.py
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
import glob
|
||||||
|
import os
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
for p in glob.glob("./*"):
|
||||||
|
if os.path.isdir(p):
|
||||||
|
bn = os.path.basename(p)
|
||||||
|
os.system("cd {0} && go build ./ && screen -L -dmS {0} ./{0}".format(bn))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user