Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
majd committed May 24, 2021
1 parent a3e4838 commit 1448ca3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ DerivedData/
*.ipa
*.dSYM.zip
*.dSYM
.build*

## Playgrounds
timeline.xctimeline
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
prefix ?= /usr/local
bindir = $(prefix)/bin

build:
xcodebuild -scheme ipatool -configuration release -archivePath .build archive

install: build
install -d "$(bindir)"
install ".build.xcarchive/Products/$(bindir)/ipatool" "$(bindir)"

uninstall:
rm -rf "$(bindir)/ipatool"

clean:
rm -rf .build.xcarchive

.PHONY: build install uninstall clean

0 comments on commit 1448ca3

Please sign in to comment.