From 0ad931ef6f04b4415ba899761ce5abf6165642d1 Mon Sep 17 00:00:00 2001 From: Lev <1187448+levb@users.noreply.github.com> Date: Thu, 9 May 2019 11:51:10 -0700 Subject: [PATCH] Fixed creating server/dist/templates/templates on a 2nd make (#50) * Fixed creating server/dist/templates/templates on 2nd make * make the cp switch portable ref: https://unix.stackexchange.com/questions/18712/difference-between-cp-r-and-cp-r-copy-command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b54aa7de..cadc0338a 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ ifneq ($(HAS_SERVER),) cd server && env GOOS=linux GOARCH=amd64 $(GO) build -o dist/plugin-linux-amd64; cd server && env GOOS=darwin GOARCH=amd64 $(GO) build -o dist/plugin-darwin-amd64; cd server && env GOOS=windows GOARCH=amd64 $(GO) build -o dist/plugin-windows-amd64.exe; - cd server && cp -r templates dist/templates + cd server && cp -R templates dist/ endif # webapp/.npminstall ensures NPM dependencies are installed without having to run this all the time