File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,22 +40,23 @@ $(WORKSPACE) Pods Podfile.lock: Podfile
4040 pod install
4141
4242.PHONY : program
43- program : Pods build test
43+ program : Pods clean build
44+
45+ # "test" appears to mean "build for testing and test", so the unit tests. Do that first, then make the real thing.
46+ .PHONY : unittest
47+ unittest : Pods
48+ xcodebuild $(XCODEBUILD_OPTIONS ) CLASS_DUMP_VERSION=$(NUMERIC_VERSION )$(GIT_HASH ) test
4449
4550.PHONY : build
4651build :
47- xcodebuild $(XCODEBUILD_OPTIONS ) CLASS_DUMP_VERSION=$(NUMERIC_VERSION )$(GIT_HASH ) build
48-
49- .PHONY : test
50- test :
51- xcodebuild $(XCODEBUILD_OPTIONS ) test
52+ xcodebuild $(XCODEBUILD_OPTIONS ) CLASS_DUMP_VERSION=$(NUMERIC_VERSION )$(GIT_HASH ) clean build
5253
5354.PHONY : check
5455check :
5556 ( cd test/tests ; PPIOS_RENAME=$( PROGRAM) README=$( README) NUMERIC_VERSION=$( NUMERIC_VERSION) ./test-suite.sh )
5657
5758.PHONY : archive
58- archive : package-check distclean archive-dir program check dist-package copy-symbols
59+ archive : package-check distclean unittest program check archive-dir dist-package copy-symbols
5960
6061.PHONY : package-check
6162package-check :
@@ -69,7 +70,7 @@ archive-dir:
6970.PHONY : dist-package
7071dist-package : $(DIST_PACKAGE )
7172
72- $(DIST_PACKAGE ) : program
73+ $(DIST_PACKAGE ) :
7374 mkdir -p $(DIST_DIR )
7475 cp $(PROGRAM ) \
7576 README.md \
8990
9091.PHONY : distclean
9192distclean : clean
92- $(RM ) -r Pods $(DIST_DIR ) * $( VERSION ) *
93+ $(RM ) -r Pods $(DIST_DIR ) * v ? . ? . ? - *
You can’t perform that action at this time.
0 commit comments