-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (24 loc) · 969 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
CUSTOM_DERIVED_DATA_LOCATION?=Build
PREFIX?=/usr/local
init:
brew bundle
rbenv install --skip-existing
rbenv exec gem update bundler
rbenv exec bundle update
# building
build:
xcodebuild -project Vrsnr/Vrsnr.xcodeproj -scheme vrsn -configuration Release -derivedDataPath "$(CUSTOM_DERIVED_DATA_LOCATION)" clean build
# testing
test:
xcodebuild -project Vrsnr/Vrsnr.xcodeproj -scheme vrsnTests -configuration Release build
update_baselines:
find Vrsnr/vrsnTests/results/ -name "*.results" | xargs -I @ mv @ Vrsnr/vrsnTests/baseLines/
# releasing
bump:
rbenv exec bundle exec bumpr $(COMPONENT) Vrsnr/Config/Project.xcconfig
rbenv exec bundle exec migrate-changelog CHANGELOG.md $$(vrsn --read --file Vrsnr/Config/Project.xcconfig)
release:
git tag $$(vrsn --file Vrsnr/Config/Project.xcconfig --read)
git push && git push --tags
git submodule update --init --recursive submodules/tworingsoft/homebrew-formulae
./scripts/release-homebrew-formula.sh