Skip to content

Instantly share code, notes, and snippets.

@owensd

owensd/Makefile Secret

Created May 29, 2017
Embed
What would you like to do?
.PHONY: release debug clean generate-version tag
debug: generate-version
swift build -c debug
swift test -c debug
release: generate-version
swift build -c release -Xswiftc -static-stdlib
swift test -c release
clean:
swift package clean
generate-version:
./Scripts/genvers.sh
tag:
git tag "v$(shell sed 's/^version: \(.*\)/\1/' ./Sources/VersionInfo/VersionInfo.yaml)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment