Skip to content

Commit

Permalink
add new target ObjcPackageProxy and make testable project with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Willianlike committed Jun 30, 2022
1 parent 10af2fc commit 2eae64f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RoadToSPMModuleNotFound/ObjcPackage/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let package = Package(
.library(
name: "ObjcPackage",
type: .dynamic,
targets: ["ObjcPackage"]),
targets: ["ObjcPackageProxy"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
Expand All @@ -19,6 +19,9 @@ let package = Package(
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 this package depends on.
.target(
name: "ObjcPackageProxy",
dependencies: ["ObjcPackage"]),
.target(
name: "ObjcPackage",
dependencies: []),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// EmptyFile.swift
//
//
// Created by Вильян Яумбаев on 30.06.2022.
//

import Foundation

struct EmptyFile {}

0 comments on commit 2eae64f

Please sign in to comment.