diff options
author | Blaster4385 <venkatesh@tablaster.dev> | 2024-07-23 01:29:15 +0530 |
---|---|---|
committer | Blaster4385 <venkatesh@tablaster.dev> | 2024-07-25 17:15:47 +0530 |
commit | 8fd9fc1ff951541808a86d8882715d06b03cdf30 (patch) | |
tree | be16d3ca425a04b45a9f04bf9ffee5747aee756c | |
parent | 9b832eaaecf1284b86d00631ee4d5471e5d11bc3 (diff) |
build: added Makefile
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4637487 --- /dev/null +++ b/Makefile @@ -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 |