-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.yml
More file actions
66 lines (61 loc) · 1.49 KB
/
Copy pathproject.yml
File metadata and controls
66 lines (61 loc) · 1.49 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: HiDiary
packages:
PopupView:
url: https://github.com/exyte/PopupView.git
exactVersion: 1.0.2
options:
xcodeVersion: 13.0 # 12.5は使用不可
bundleIdPrefix: com.appgrape.hidiary
deploymentTarget:
iOS: "15.0"
generateEmptyDirectories: true
postGenCommand: |
set -e
pod install
configs:
HiDiary Debug: debug
HiDiary Release: release
fileGroups:
- .gitignore
- README.md
- .swiftlint.yml
- project.yml
- Makefile
- Mintfile
- .github/
- Sample/
- Podfile
targets:
HiDiary:
platform: iOS
type: application
sources:
- Source/
postBuildScripts:
- name: Mint Build Script
script: |
if [[ -f ./Mintfile ]] ; then
xcrun --sdk macosx mint run swiftlint autocorrect --format
xcrun --sdk macosx mint run swiftlint
else
echo "error: Not exists Mintfile, Please run \"make mint\"."
exit 1
fi
- name: Swift Format
script: |
if [[ -f ./Mintfile ]] ; then
xcrun --sdk macosx mint run nicklockwood/SwiftFormat swiftformat .
else
echo "error: Not exists Mintfile, Please run \"make mint\"."
exit 1
fi
dependencies:
- package: PopupView
Tests:
platform: iOS
type: bundle.unit-test
sources:
- Tests/
scheme:
testTargets:
- Tests