Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
excluded:
- .build

baseline: Baseline.json
1 change: 1 addition & 0 deletions Baseline.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Brewfile

brew "swiftlint"
9 changes: 9 additions & 0 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ let package = Package(
name: "SwiftTAK",
platforms: [
.iOS(.v15),
.macOS(.v12)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
Expand All @@ -16,19 +17,27 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/weichsel/ZIPFoundation.git", .upToNextMajor(from: "0.9.0")),
.package(url: "https://github.com/drmohundro/SWXMLHash.git", .upToNextMajor(from: "7.0.0"))
.package(url: "https://github.com/drmohundro/SWXMLHash.git", .upToNextMajor(from: "7.0.0")),
.package(url: "https://github.com/SimplyDanny/SwiftLintPlugins.git", from: "0.55.1")
],
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: "SwiftTAK",
dependencies: ["ZIPFoundation", "SWXMLHash"]),
dependencies: ["ZIPFoundation", "SWXMLHash"],
plugins: [
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLintPlugins")
]
),
.testTarget(
name: "SwiftTAKTests",
dependencies: ["SwiftTAK", "SWXMLHash", "ZIPFoundation"],
resources: [
.process("TestAssets")
],
plugins: [
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLintPlugins")
]
),
]
Expand Down