From 5f6ebdfe741672196989545ada0dcfa0089021a4 Mon Sep 17 00:00:00 2001 From: gubbins Date: Thu, 30 Jul 2020 23:01:18 +1000 Subject: [PATCH] Fix recursive copies in Makefile for OSX (#97) Co-authored-by: Dave Gittins --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2816138..1dfdc73 100644 --- a/Makefile +++ b/Makefile @@ -103,15 +103,15 @@ ifneq ($(wildcard $(ASSETS_DIR)/.),) cp -r $(ASSETS_DIR) dist/$(PLUGIN_ID)/ endif ifneq ($(HAS_PUBLIC),) - cp -r public/ dist/$(PLUGIN_ID)/ + cp -r public dist/$(PLUGIN_ID)/ endif ifneq ($(HAS_SERVER),) - mkdir -p dist/$(PLUGIN_ID)/server/dist; - cp -r server/dist/* dist/$(PLUGIN_ID)/server/dist/; + mkdir -p dist/$(PLUGIN_ID)/server + cp -r server/dist dist/$(PLUGIN_ID)/server/ endif ifneq ($(HAS_WEBAPP),) - mkdir -p dist/$(PLUGIN_ID)/webapp/dist; - cp -r webapp/dist/* dist/$(PLUGIN_ID)/webapp/dist/; + mkdir -p dist/$(PLUGIN_ID)/webapp + cp -r webapp/dist dist/$(PLUGIN_ID)/webapp/ endif cd dist && tar -cvzf $(BUNDLE_NAME) $(PLUGIN_ID)