Intialize and cleanup repo
This commit is contained in:
10
server/build.sh
Executable file
10
server/build.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p builds
|
||||
|
||||
# Remove old version
|
||||
if [ -f builds/server.out ]; then
|
||||
rm builds/server.out
|
||||
fi
|
||||
|
||||
g++ main.cpp -o builds/server.out -lenet -lpthread
|
||||
Reference in New Issue
Block a user