forked from vapor-community/Imperial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
executable file
·59 lines (58 loc) · 2.71 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "Imperial",
platforms: [
.macOS(.v10_15)
],
products: [
.library(name: "ImperialCore", targets: ["ImperialCore"]),
.library(name: "ImperialAuth0", targets: ["ImperialCore", "ImperialAuth0"]),
.library(name: "ImperialDiscord", targets: ["ImperialCore", "ImperialDiscord"]),
.library(name: "ImperialDropbox", targets: ["ImperialCore", "ImperialDropbox"]),
.library(name: "ImperialFacebook", targets: ["ImperialCore", "ImperialFacebook"]),
.library(name: "ImperialGitHub", targets: ["ImperialCore", "ImperialGitHub"]),
.library(name: "ImperialGitlab", targets: ["ImperialCore", "ImperialGitlab"]),
.library(name: "ImperialGoogle", targets: ["ImperialCore", "ImperialGoogle"]),
.library(name: "ImperialKeycloak", targets: ["ImperialCore", "ImperialKeycloak"]),
.library(name: "ImperialMicrosoft", targets: ["ImperialCore", "ImperialMicrosoft"]),
.library(name: "ImperialShopify", targets: ["ImperialCore", "ImperialShopify"]),
.library(name: "Imperial", targets: [
"ImperialCore",
"ImperialAuth0",
"ImperialDiscord",
"ImperialDropbox",
"ImperialFacebook",
"ImperialGitHub",
"ImperialGitlab",
"ImperialGoogle",
"ImperialKeycloak",
"ImperialMicrosoft",
"ImperialShopify"
]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.0.0")
],
targets: [
.target(
name: "ImperialCore",
dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "JWTKit", package: "jwt-kit"),
]
),
.target(name: "ImperialAuth0", dependencies: ["ImperialCore"]),
.target(name: "ImperialDiscord", dependencies: ["ImperialCore"]),
.target(name: "ImperialDropbox", dependencies: ["ImperialCore"]),
.target(name: "ImperialFacebook", dependencies: ["ImperialCore"]),
.target(name: "ImperialGitHub", dependencies: ["ImperialCore"]),
.target(name: "ImperialGitlab", dependencies: ["ImperialCore"]),
.target(name: "ImperialGoogle", dependencies: ["ImperialCore"]),
.target(name: "ImperialKeycloak", dependencies: ["ImperialCore"]),
.target(name: "ImperialMicrosoft", dependencies: ["ImperialCore"]),
.target(name: "ImperialShopify", dependencies: ["ImperialCore"]),
.testTarget(name: "ImperialTests", dependencies: ["ImperialCore", "ImperialShopify"]),
]
)