forked from Blaster4385/file-share
build: added Makefile
This commit is contained in:
parent
9b832eaaec
commit
8fd9fc1ff9
1 changed files with 11 additions and 0 deletions
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
.PHONY: fileshare clean
|
||||
|
||||
fileshare:
|
||||
rm -rf server/dist
|
||||
cp -r client server/dist
|
||||
cd server && go build -ldflags "-s -w"
|
||||
mv server/fileshare fileshare
|
||||
|
||||
clean:
|
||||
rm -rf server/dist
|
||||
rm fileshare
|
Loading…
Reference in a new issue