Skip to content

Commit 13df73d

Browse files
committed
Fix release builds for multi-arch
1 parent 6e91b3b commit 13df73d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
RELEASE_BUILD=./.build/release
1+
RELEASE_BUILD=./.build/apple/Products/Release
22
EXECUTABLE=reminders
33
ARCHIVE=$(EXECUTABLE).tar.gz
44

55
.PHONY: clean build-release package
66

77
build-release:
8-
swift build --configuration release -Xswiftc -warnings-as-errors
8+
swift build --configuration release -Xswiftc -warnings-as-errors --arch arm64 --arch x86_64
99

1010
package: build-release
1111
$(RELEASE_BUILD)/$(EXECUTABLE) --generate-completion-script zsh > _reminders

0 commit comments

Comments
 (0)