diff options
| author | Vadim Shpakovski | 2016-07-15 09:45:59 +0300 |
|---|---|---|
| committer | GitHub | 2016-07-15 09:45:59 +0300 |
| commit | 658a4e1e78b96b42da6d9b845798f99defcc7e52 (patch) | |
| tree | 2b18960744818086bd822b4e50100a992077d1d5 | |
| parent | a4dd5854978e89d1a1ab8b9ca259ff8777ab1a43 (diff) | |
| parent | bd3cf9bf9c32f14ce6f599ab1797ead39b4bcb64 (diff) | |
| download | MASShortcut-658a4e1e78b96b42da6d9b845798f99defcc7e52.tar.bz2 | |
Merge pull request #94 from sfsam/master
Added Makefile to build from the command line
| -rw-r--r-- | Makefile | 10 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f1a99cc --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +.PHONY: release + +ifndef BUILDDIR + BUILDDIR := $(shell mktemp -d "$(TMPDIR)/MASShortcut.XXXXXX") +endif + +release: + xcodebuild -scheme MASShortcut -configuration Release -derivedDataPath "$(BUILDDIR)" build + open "$(BUILDDIR)/Build/Products/Release" + @@ -39,6 +39,8 @@ If you want to stick to the 1.x branch, you can use the version smart match oper You can also install via [Carthage](https://github.com/Carthage/Carthage), or you can use Git submodules and link against the MASShortcut framework manually. +To build from the command line, type 'make release'. The framework will be created in a temporary directory and revealed in Finder when the build is complete. + # Usage I hope, it is really easy: |
