Skip to content

Commit

Permalink
[0.5.4]package manager support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Jun 27, 2023
1 parent 07582d2 commit 019ac6a
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 0 deletions.
Binary file modified Example/.DS_Store
Binary file not shown.
23 changes: 23 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "YourFilm",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "YourFilm",
targets: ["YourFilm"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "YourFilm"),
.testTarget(
name: "YourFilmTests",
dependencies: ["YourFilm"]),
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions Tests/YourFilmTests/YourFilmTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import XCTest
@testable import YourFilm

final class YourFilmTests: XCTestCase {
func testExample() throws {
// XCTest Documenation
// https://developer.apple.com/documentation/xctest

// Defining Test Cases and Test Methods
// https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods
}
}

0 comments on commit 019ac6a

Please sign in to comment.