Skip to content

Commit

Permalink
Set execution permissions to mac build.
Browse files Browse the repository at this point in the history
  • Loading branch information
pherrymason committed Sep 17, 2024
1 parent f7add67 commit 85889e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ LINUX_PREFIX = linux-amd64
WIN_PREFIX = windows-amd64
pack-release:
unzip $(BIN_PATH)/c3-lsp.zip -d $(BIN_PATH)/release
mv $(BIN_PATH)/release/c3-lsp-$(DARWIN_PREFIX) $(BIN_PATH)/release/c3lsp
rm -f $(BIN_PATH)/c3lsp-$(DARWIN_PREFIX).zip ; zip $(BIN_PATH)/c3lsp-$(DARWIN_PREFIX).zip $(BIN_PATH)/release/c3lsp
mv $(BIN_PATH)/release/c3-lsp-$(DARWIN_PREFIX) $(BIN_PATH)/release/c3lsp; chmod 0555 $(BIN_PATH)/release/c3lsp
rm -f $(BIN_PATH)/c3lsp-$(DARWIN_PREFIX).zip ; zip $(BIN_PATH)/c3lsp-$(DARWIN_PREFIX).zip $(BIN_PATH)/release/c3lsp

mv $(BIN_PATH)/release/c3-lsp-$(LINUX_PREFIX) $(BIN_PATH)/release/c3lsp; chmod 0555 $(BIN_PATH)/release/c3lsp
rm -f $(BIN_PATH)/c3lsp-$(LINUX_PREFIX).tar.gz; tar -czvf $(BIN_PATH)/c3lsp-$(LINUX_PREFIX).tar.gz $(BIN_PATH)/release/c3lsp

mv $(BIN_PATH)/release/c3-lsp-$(WIN_PREFIX).exe $(BIN_PATH)/release/c3lsp.exe
rm -f $(BIN_PATH)/release/c3-lsp-$(WIN_PREFIX).zip; zip $(BIN_PATH)/c3lsp-$(WIN_PREFIX).zip $(BIN_PATH)/release/c3lsp.exe

Expand Down

0 comments on commit 85889e2

Please sign in to comment.