aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSanjay Madan2016-07-14 22:12:06 -0700
committerSanjay Madan2016-07-14 22:12:06 -0700
commitbd3cf9bf9c32f14ce6f599ab1797ead39b4bcb64 (patch)
tree2b18960744818086bd822b4e50100a992077d1d5 /Makefile
parenta4dd5854978e89d1a1ab8b9ca259ff8777ab1a43 (diff)
downloadMASShortcut-bd3cf9bf9c32f14ce6f599ab1797ead39b4bcb64.tar.bz2
Added Makefile to build from the command line
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 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"
+