Skip to content

Commit

Permalink
try to fix plugin examples package for swift 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Skoti committed Aug 12, 2024
1 parent bd10407 commit 2c65dd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PluginExamples/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "PluginExamples",
dependencies: [
.package(name: "swift-protobuf", path: "../")
.package(path: "../")
],
targets: [
.testTarget(
Expand Down
5 changes: 5 additions & 0 deletions PluginExamples/Sources/ExampleTests/ExampleTests.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import Simple
import Nested
import Import

#if compiler(>=5.9)
#if hasFeature(AccessLevelOnImport)
import AccessLevelOnImport
#endif
#endif

import XCTest

Expand Down

0 comments on commit 2c65dd3

Please sign in to comment.