-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.yml
43 lines (43 loc) · 1.19 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
name: App
include:
- app/addons/addons.yml
targets:
App:
type: application
platform: iOS
deploymentTarget: 14.0
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: to.holepunch.bare.ios
SWIFT_VERSION: 5.0
SWIFT_OBJC_BRIDGING_HEADER: app/App-Bridging-Header.h
info:
path: app/Info.plist
dependencies:
- framework: app/frameworks/BareKit.xcframework
sources:
- path: app/App.swift
- path: app/App-Bridging-Header.h
- path: app/app.js
- path: app/app.bundle
optional: true
scheme:
preActions:
- name: Link
script: |
${PWD}/node_modules/.bin/bare-link \
--target ios-arm64 \
--target ios-arm64-simulator \
--target ios-x64-simulator \
--out ${PWD}/app/addons \
${PWD}
- name: Pack
script: |
${PWD}/node_modules/.bin/bare-pack \
--target ios-arm64 \
--target ios-arm64-simulator \
--target ios-x64-simulator \
--linked \
--base ${PWD} \
--out ${PWD}/app/app.bundle \
${PWD}/app/app.js