Skip to content

Commit 0580028

Browse files
author
Mike Richter
committed
Improve build, add to ignore list #18463
1 parent f4fcb8b commit 0580028

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
xcuserdata
22
*.xcarchive/
3-
.idea
4-
build
5-
6-
#ignore cocoapod files
7-
Pods
8-
ppios-rename.xcworkspace/
3+
/.idea/
4+
/build/
5+
/Pods/
6+
/ppios-rename.xcworkspace/
97
DerivedData
8+
/*._*/
9+
/v*.*.*/

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ check:
5555
( cd test/tests ; PPIOS_RENAME=$(PROGRAM) README=$(README) NUMERIC_VERSION=$(NUMERIC_VERSION) ./test-suite.sh )
5656

5757
.PHONY: archive
58-
archive: package-check distclean archive-dir program check $(DIST_PACKAGE)
59-
cp -r $(PROGRAM).dSYM $(ARCHIVE_DIR)/
58+
archive: package-check distclean archive-dir program check dist-package copy-symbols
6059

6160
.PHONY: package-check
6261
package-check:
@@ -67,6 +66,9 @@ package-check:
6766
archive-dir:
6867
mkdir -p $(ARCHIVE_DIR)
6968

69+
.PHONY: dist-package
70+
dist-package: $(DIST_PACKAGE)
71+
7072
$(DIST_PACKAGE): program
7173
mkdir -p $(DIST_DIR)
7274
cp $(PROGRAM) \
@@ -77,6 +79,10 @@ $(DIST_PACKAGE): program
7779
$(DIST_DIR)
7880
tar -cvpzf $@ --options gzip:compression-level=9 $(DIST_DIR)
7981

82+
.PHONY: copy-symbols
83+
copy-symbols:
84+
cp -r $(PROGRAM).dSYM $(ARCHIVE_DIR)/
85+
8086
.PHONY: clean
8187
clean:
8288
$(RM) -r $(BUILD_DIR)

test/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/results/

0 commit comments

Comments
 (0)