-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
58 lines (58 loc) · 1.92 KB
/
project.yml
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
name: ExampleBuildToolsManagement
options:
xcodeVersion: "12.5.1"
deploymentTarget:
iOS: "13.0"
groupSortPosition: top
packages:
Kingfisher:
url: https://github.com/onevcat/Kingfisher.git
version: 6.3.1
SVGKit:
url: https://github.com/SVGKit/SVGKit.git
# TODO: Use version-based requirement.
# This branch-based requirement is a workaround to patch the pre-released fix.
# https://github.com/SVGKit/SVGKit/pull/717
branch: 3.x
targets:
ExampleBuildToolsManagement:
type: application
platform: iOS
info:
path: ExampleBuildToolsManagement/Resources/Info.plist
properties:
UILaunchStoryboardName: LaunchScreen
settings:
base:
TARGETED_DEVICE_FAMILY: 1
PRODUCT_BUNDLE_IDENTIFIER: io.github.hugehoge.ExampleBuildToolsManagement
sources:
- path: ExampleBuildToolsManagement
excludes:
- "**/.gitkeep"
- path: ExampleBuildToolsManagement/Generated/IB-Scenes+Generated.swift
group: ExampleBuildToolsManagement/Generated
optional: true
preBuildScripts:
- name: SwiftGen
script: |
${SRCROOT}/bin/swiftgen
outputFiles:
- ${SRCROOT}/ExampleBuildToolsManagement/Generated/IB-Scenes+Generated.swift
basedOnDependencyAnalysis: no
- name: LicensePlist
script: |
${SRCROOT}/bin/license-plist \
--suppress-opening-directory \
--fail-if-missing-license \
--output-path "${SRCROOT}/ExampleBuildToolsManagement/Resources/Settings.bundle"
outputFiles:
- ${SRCROOT}/ExampleBuildToolsManagement/Resources/Settings.bundle
- name: Format and linting
script: |
${SRCROOT}/bin/swiftformat --swiftversion 5.4 ExampleBuildToolsManagement/
${SRCROOT}/bin/swiftlint
${SRCROOT}/bin/iblinter
dependencies:
- package: Kingfisher
- package: SVGKit