Skip to content

Commit

Permalink
[Make] Release script
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianoPAlmeida committed Sep 27, 2022
1 parent ac7e4d9 commit fe39a40
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,11 @@ uninstall:
clean:
rm -rf .build

.PHONY: build install uninstall clean
release:
swift build -c release --triple arm64-apple-macosx
swift build -c release --triple x86_64-apple-macosx10.15
rm -f .build/arm64-apple-macosx/build.db
rm -f .build/x86_64-apple-macosx/build.db
cd .build && zip -r ./arm64-apple-macosx.zip ./arm64-apple-macosx
cd .build && zip -r ./x86_64-apple-macosx.zip ./x86_64-apple-macosx
.PHONY: build install uninstall clean release

0 comments on commit fe39a40

Please sign in to comment.