A basic Go HTTP Server Template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
server_binary:=gohst |
|
|
|
all: |
|
mkdir -p bin && \ |
|
cd src && CGO_ENABLED=0 go build && mv $(server_binary) ../bin && \ |
|
cd .. && \ |
|
cp -r pages bin && \ |
|
cp -r scripts bin && \ |
|
cp -r static bin |
|
|
|
clean: |
|
rm -rf bin |
|
|