Skip to content

Commit

Permalink
Fixed creating server/dist/templates/templates on a 2nd make (#50)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
levb authored and crspeller committed May 21, 2019
1 parent 994a4b3 commit 0ad931e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ad931e

Please sign in to comment.