mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
Build universal binaries for release (#1024)
* Build universal binaries for release Closes https://github.com/yonaskolb/XcodeGen/issues/994. * Add a changelog entry for 'Build universal binaries for release'
This commit is contained in:
parent
e8237903ef
commit
b8b457abdb
@ -8,6 +8,9 @@
|
||||
#### Fixed
|
||||
- Fixed regression on **.storekit** configuration files' default build phase. [#1026](https://github.com/yonaskolb/XcodeGen/pull/1026) @jcolicchio
|
||||
|
||||
#### Internal
|
||||
- Build universal binaries for release. XcodeGen now runs natively on Apple Silicon. [#1024](https://github.com/yonaskolb/XcodeGen/pull/1024) @thii
|
||||
|
||||
## 2.19.0
|
||||
|
||||
#### Added
|
||||
|
5
Makefile
5
Makefile
@ -9,17 +9,18 @@ CURRENT_PATH = $(PWD)
|
||||
REPO = https://github.com/yonaskolb/$(TOOL_NAME)
|
||||
RELEASE_TAR = $(REPO)/archive/$(VERSION).tar.gz
|
||||
SHA = $(shell curl -L -s $(RELEASE_TAR) | shasum -a 256 | sed 's/ .*//')
|
||||
SWIFT_BUILD_FLAGS = --disable-sandbox -c release --arch arm64 --arch x86_64
|
||||
|
||||
.PHONY: install build uninstall format_code brew release
|
||||
|
||||
install: build
|
||||
mkdir -p $(PREFIX)/bin
|
||||
cp -f .build/release/$(EXECUTABLE_NAME) $(INSTALL_PATH)
|
||||
cp -f $(shell swift build $(SWIFT_BUILD_FLAGS) --show-bin-path)/$(EXECUTABLE_NAME) $(INSTALL_PATH)
|
||||
mkdir -p $(SHARE_PATH)
|
||||
cp -R $(CURRENT_PATH)/SettingPresets $(SHARE_PATH)/SettingPresets
|
||||
|
||||
build:
|
||||
swift build --disable-sandbox -c release
|
||||
swift build $(SWIFT_BUILD_FLAGS)
|
||||
|
||||
uninstall:
|
||||
rm -f $(INSTALL_PATH)
|
||||
|
Loading…
Reference in New Issue
Block a user