Skip to content

Instantly share code, notes, and snippets.

@isaac-weisberg
Created March 18, 2018 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaac-weisberg/5f6a0b592d159eed53ed3e74d01ec1a9 to your computer and use it in GitHub Desktop.
Save isaac-weisberg/5f6a0b592d159eed53ed3e74d01ec1a9 to your computer and use it in GitHub Desktop.
Swift Package Manager targets for GNU Make
BUILD_DIR=./.build
default: build
build:
swift build
test:
swift test
update:
swift package update
release:
swift build -c release
xcodeproj:
swift package generate-xcodeproj
clean:
swift package clean
# -rm -rf $(BUILD_DIR)/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment