Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SOOS-FAngelino authored Sep 24, 2024
1 parent aafd76a commit fe5b6ec
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "swift-vuln-test",
platforms: [
.iOS(.v12),
.macOS(.v10_14),
.tvOS(.v12),
.watchOS(.v5)
],
products: [
.library(
name: "Apollo",
targets: ["Apollo"]),
.library(
name: "ApolloAPI",
targets: ["ApolloAPI"]),
.library(
name: "ApolloUtils",
targets: ["ApolloUtils"]),
.library(
name: "Apollo-Dynamic",
type: .dynamic,
targets: ["Apollo"]),
.library(
name: "ApolloCodegenLib",
targets: ["ApolloCodegenLib"]),
.library(
name: "ApolloSQLite",
targets: ["ApolloSQLite"]),
.library(
name: "ApolloWebSocket",
targets: ["ApolloWebSocket"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio-extras.git", .exact("1.4.0")),
.package(url: "https://github.com/vapor/vapor.git", .exact("4.84.1")),
],
targets: [
.target(
name: "Apollo",
dependencies: [
"ApolloAPI",
"ApolloUtils"
],
exclude: [
"Info.plist"
]),
.target(
name: "ApolloAPI",
dependencies: [],
exclude: [
"Info.plist",
"CodegenV1"
]),
.target(
name: "ApolloUtils",
dependencies: [],
exclude: [
"Info.plist"
]),
.target(
name: "ApolloCodegenLib",
dependencies: [
"ApolloUtils",
.product(name: "InflectorKit", package: "InflectorKit"),
.product(name: "Stencil", package: "Stencil"),
],
exclude: [
"Info.plist",
"Frontend/JavaScript",
],
resources: [
.copy("Frontend/dist/ApolloCodegenFrontend.bundle.js"),
.copy("Frontend/dist/ApolloCodegenFrontend.bundle.js.map")
]),
.target(
name: "ApolloSQLite",
dependencies: [
"Apollo",
.product(name: "SQLite", package: "SQLite.swift"),
],
exclude: [
"Info.plist"
]),
.target(
name: "ApolloWebSocket",
dependencies: [
"Apollo",
"ApolloUtils",
.product(name: "Starscream", package: "Starscream"),
],
exclude: [
"Info.plist"
])
]
)

0 comments on commit fe5b6ec

Please sign in to comment.