forked from WeTransfer/WeScan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
34 lines (33 loc) · 1.41 KB
/
Package.swift
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
// swift-tools-version:5.3
// We're hiding dev, test, and danger dependencies with // dev to make sure they're not fetched by users of this package.
import PackageDescription
let package = Package(
name: "WeScan",
defaultLocalization: "en",
platforms: [
.iOS(.v12)
],
products: [
// dev .library(name: "DangerDeps", type: .dynamic, targets: ["DangerDependencies"]), // dev
.library(name: "WeScan", type: .static, targets: ["WeScan"])
],
dependencies: [
// dev .package(name: "danger-swift", url: "https://github.com/danger/swift", from: "3.0.0"),
// dev .package(name: "WeTransferPRLinter", path: "Submodules/WeTransfer-iOS-CI/Danger-Swift")
],
targets: [
// This is just an arbitrary Swift file in the app, that has
// no dependencies outside of Foundation, the dependencies section
// ensures that the library for Danger gets build also.
// dev .target(name: "DangerDependencies", dependencies: [.product(name: "Danger", package: "danger-swift"), "WeTransferPRLinter"], path: "Submodules/WeTransfer-iOS-CI/Danger-Swift", sources: ["DangerFakeSource.swift"]),
.target(name: "WeScan",
path: "WeScan",
exclude: [
"Info.plist",
"WeScan.h"
],
resources: [
.process("Resources")
])
]
)