Redo Package.swift for Swift Package Manager 4.0.

This commit is contained in:
Ewan Mellor 2017-09-27 11:47:23 -07:00
parent 8a292c0f4f
commit 7aa6b544d9
No known key found for this signature in database
GPG Key ID: 7CE1C6BC9EC8645D
1 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,4 @@
// swift-tools-version:4.0
// Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
// Use of this file is governed by the BSD 3-clause license that
// can be found in the LICENSE.txt file in the project root.
@ -5,15 +6,19 @@
import PackageDescription
let package = Package(
name: "Antlr4"
)
products.append(
Product(
name: "Antlr4",
type: .Library(.Dynamic),
modules: [
"Antlr4"
]
)
name: "Antlr4",
products: [
.library(
name: "Antlr4",
type: .dynamic,
targets: ["Antlr4"]),
],
targets: [
.target(
name: "Antlr4",
dependencies: []),
.testTarget(
name: "Antlr4Tests",
dependencies: ["Antlr4"]),
]
)