Skip to content

Commit

Permalink
Prepare Release v1.0.1: Remove Swifttlint and fix Resources warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutzifer committed Jan 22, 2024
1 parent e170b28 commit b57f010
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.DS_Store
/.swiftpm
/Package.resolved
/.build
11 changes: 4 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/num42/swift-macrotester.git", from:"1.0.0"),
// Depend on the Swift 5.9 release of SwiftSyntax
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0"),
.package(url: "https://github.com/realm/SwiftLint", from: "0.54.0")
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand All @@ -31,14 +30,12 @@ let package = Package(
dependencies: [
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
.product(name: "SwiftCompilerPlugin", package: "swift-syntax")
],
plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]
]
),
// Library that exposes a macro as part of its API, which is used in client programs.
.target(
name: name,
dependencies: [.target(name: "\(name)Macros")],
plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]
dependencies: [.target(name: "\(name)Macros")]
),
// A test target used to develop the macro implementation.
.testTarget(
Expand All @@ -48,7 +45,7 @@ let package = Package(
.product(name: "MacroTester", package: "swift-macrotester"),
.product(name: "SwiftSyntaxMacrosTestSupport", package: "swift-syntax")
],
plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]
resources: [.copy("Resources")]
)
]
)

0 comments on commit b57f010

Please sign in to comment.