mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-04-05 04:59:05 +08:00
build: preserve swift build failures in make target (#115)
This commit is contained in:
2
Makefile
2
Makefile
@@ -119,7 +119,7 @@ $(BINARY): $(SWIFT_SOURCES) Package.swift $(ENTITLEMENTS)
|
||||
@echo "=== Building vphone-cli ($(GIT_HASH)) ==="
|
||||
@echo '// Auto-generated — do not edit' > $(BUILD_INFO)
|
||||
@echo 'enum VPhoneBuildInfo { static let commitHash = "$(GIT_HASH)" }' >> $(BUILD_INFO)
|
||||
swift build -c release 2>&1 | tail -5
|
||||
@set -o pipefail; swift build -c release 2>&1 | tail -5
|
||||
@echo ""
|
||||
@echo "=== Signing with entitlements ==="
|
||||
codesign --force --sign - --entitlements $(ENTITLEMENTS) $@
|
||||
|
||||
Reference in New Issue
Block a user