-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.yml
55 lines (55 loc) · 1.43 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
name: OpenSSL-Swift
options:
bundleIdPrefix: de.gematik.ti.swift.openssl
createIntermediateGroups: true
deploymentTarget:
macOS: 10.15
iOS: 13.0
settings:
base:
CURRENT_PROJECT_VERSION: -1
CODE_SIGN_IDENTITY: ""
SWIFT_VERSION: 5.0
ALWAYS_SEARCH_USER_PATHS: NO
FRAMEWORK_SEARCH_PATHS: "$(inherited)"
BUILD_LIBRARY_FOR_DISTRIBUTION: YES
configs:
Release:
SWIFT_COMPILATION_MODE: wholemodule
Debug:
SWIFT_COMPILATION_MODE: incremental
targets:
OpenSSL:
configFiles:
Debug: Sources/OpenSSL/Resources/debug_${platform}.xcconfig
Release: Sources/OpenSSL/Resources/release_${platform}.xcconfig
type: framework
platform: [iOS,macOS]
sources:
- path: Sources/OpenSSL
excludes:
- "**/.swiftlint.yml"
- path: Sources/COpenSSL
- path: lib/include
copyFiles:
destination: productsDirectory
subpath: include/openssl
preBuildScripts:
- name: "Install OpenSSL"
script: |
cd "$SRCROOT"
./scripts/install_openssl
scheme:
testTargets:
- OpenSSLTests_${platform}
gatherCoverageData: true
OpenSSLTests:
type: bundle.unit-test
platform: [iOS,macOS]
settings:
INFOPLIST_FILE: Tests/OpenSSLTests/Resources/Info.plist
sources:
- Tests/OpenSSLTests
dependencies:
- target: OpenSSL_${platform}
buildImplicitDependencies: true