Skip to content

Commit 83c4553

Browse files
committed
Fix bundling on Mac
1 parent 7840e82 commit 83c4553

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,11 @@ ifneq ($(HAS_WEBAPP),)
246246
mkdir -p dist/$(PLUGIN_ID)/webapp
247247
cp -r webapp/dist dist/$(PLUGIN_ID)/webapp/
248248
endif
249+
ifeq ($(shell uname),Darwin)
250+
cd dist && tar --disable-copyfile -cvzf $(BUNDLE_NAME) $(PLUGIN_ID)
251+
else
249252
cd dist && tar -cvzf $(BUNDLE_NAME) $(PLUGIN_ID)
253+
endif
250254

251255
@echo plugin built at: dist/$(BUNDLE_NAME)
252256

0 commit comments

Comments
 (0)