Skip to content

Commit

Permalink
Merge pull request #9 from jeanetienne/swift-package-manager
Browse files Browse the repository at this point in the history
Using Swift Package Manager
  • Loading branch information
jeanetienne authored Feb 10, 2019
2 parents f2fc4c6 + 0b03c07 commit 50a7bff
Show file tree
Hide file tree
Showing 21 changed files with 146 additions and 143 deletions.
185 changes: 93 additions & 92 deletions AssetResizer.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
26 changes: 0 additions & 26 deletions AssetResizer/Info.plist

This file was deleted.

22 changes: 0 additions & 22 deletions AssetResizerTests/Info.plist

This file was deleted.

28 changes: 28 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "AssetResizer",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "AssetResizer",
targets: ["AssetResizer"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "AssetResizer",
dependencies: []),
.testTarget(
name: "AssetResizerTests",
dependencies: ["AssetResizer"]),
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ import XCTest

@testable import AssetResizer

class AssetResizerTests: XCTestCase {

}
final class AssetResizerTests: XCTestCase {}
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions Tests/AssetResizerTests/XCTestManifests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import XCTest

#if !os(macOS)
public func allTests() -> [XCTestCaseEntry] {
return [
testCase(AssetResizerTests.allTests),
]
}
#endif
7 changes: 7 additions & 0 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import XCTest

import AssetResizerTests

var tests = [XCTestCaseEntry]()
tests += AssetResizerTests.allTests()
XCTMain(tests)

0 comments on commit 50a7bff

Please sign in to comment.