forked from swiftlang/swift-driver
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.yml
58 lines (58 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
56
57
58
name: swift-driver
options:
createIntermediateGroups: true
defaultConfig: Debug
groupSortPosition: none
settings:
CODE_SIGNING_ALLOWED: false
DONT_RUN_SWIFT_STDLIB_TOOL: true
LD: /usr/bin/true
LIBTOOL: /usr/bin/true
SWIFT_EXEC: $SRCROOT/bazel/swiftc-stub.sh
SWIFT_OBJC_INTERFACE_HEADER_NAME: ""
SWIFT_VERSION: 5
targets:
swift-driver:
type: tool
platform: macOS
settings:
PRODUCT_MODULE_NAME: swift_driver
PRODUCT_NAME: swiftc
BAZEL_PACKAGE: Sources/swift-driver
preBuildScripts:
- name: Build with bazel
script: |
set -e
PATH=${PATH} bazel build --config=$CONFIGURATION swift-driver
$SRCROOT/bazel/install.sh
sources:
- Sources/swift-driver/main.swift
SwiftDriver:
type: library.static
platform: macOS
sources:
- Sources/SwiftDriver
SwiftDriverTests:
type: bundle.unit-test
platform: macOS
settings:
PRODUCT_NAME: SwiftDriverTests
BAZEL_PACKAGE: Tests/SwiftDriverTests
preBuildScripts:
- name: Build with bazel
script: |
set -e
PATH=${PATH} bazel build --config=$CONFIGURATION SwiftDriverTests
$SRCROOT/bazel/install.sh
sources:
- Tests/SwiftDriverTests
schemes:
swift-driver:
build:
parallelizeBuild: false
buildImplicitDependencies: false
targets:
swift-driver: [run]
test:
targets:
- SwiftDriverTests