-
Notifications
You must be signed in to change notification settings - Fork 15
/
Package@swift-4.swift
50 lines (49 loc) · 1.4 KB
/
Package@swift-4.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
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// Package.swift
// Perfect-TensorFlow
//
// Created by Rockford Wei on 2017-05-18.
// Copyright © 2017 PerfectlySoft. All rights reserved.
//
//===----------------------------------------------------------------------===//
//
// This source file is part of the Perfect.org open source project
//
// Copyright (c) 2017 - 2018 PerfectlySoft Inc. and the Perfect project authors
// Licensed under Apache License v2.0
//
// See http://perfect.org/licensing.html for license information
//
//===----------------------------------------------------------------------===//
//
import PackageDescription
#if os(OSX)
import Darwin
#else
import Glibc
#endif
let package = Package(
name: "PerfectTensorFlow",
products: [
.library(
name: "PerfectTensorFlow",
targets: ["PerfectTensorFlow"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-protobuf.git", .exact("1.5.0"))
],
targets: [
.target(
name: "TensorFlowAPI",
dependencies: []),
.target(
name: "PerfectTensorFlow",
dependencies: ["TensorFlowAPI", "SwiftProtobuf"],
exclude:[]),
.testTarget(
name: "PerfectTensorFlowTests",
dependencies: ["PerfectTensorFlow"]),
]
)