Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to swift tools 4.2 #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// swift-tools-version:4.2
//
// Package.swift
// SwiftyChrono
Expand All @@ -10,5 +11,21 @@ import PackageDescription

let package = Package(
name: "SwiftyChrono",
dependencies: []
products: [
.library(
name: "SwiftyChrono",
targets: ["SwiftyChrono"]),
],
dependencies: [
],
targets: [
.target(
name: "SwiftyChrono",
dependencies: [],
path: "Sources"),
.testTarget(
name: "SwiftyChronoTests",
dependencies: ["SwiftyChrono"],
path: "Tests"),
]
)
433 changes: 1 addition & 432 deletions SwiftyChrono.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/ChronoJSXCTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

public protocol ChronoJSTestable {
func evalJS(_ script: String, fileName: String)
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/de/TestDE.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestDE: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/en/TestEN.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestEN: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/es/TestES.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestES: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/fr/TestFR.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestFR: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/jp/TestJP.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestJP: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/zh_hans/TestZHHans.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Foundation

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestZHHans: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/JS/zh_hant/testZHHant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Foundation

import XCTest
import JavaScriptCore
@testable import SwiftyChrono

class TestZHHant: ChronoJSXCTestCase {
private let files = [
Expand Down
1 change: 1 addition & 0 deletions Tests/SwiftyChronoTests/TestUtil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import Foundation
import XCTest
import JavaScriptCore
@testable import SwiftyChrono

extension XCTestCase {
func ok(_ result: Bool) {
Expand Down