Skip to content

Commit

Permalink
Revert "Use mise for dev tooling (#806)"
Browse files Browse the repository at this point in the history
This reverts commit 0c30728.
  • Loading branch information
rofle100lvl committed Aug 28, 2024
1 parent e8a599e commit b95995a
Show file tree
Hide file tree
Showing 92 changed files with 127 additions and 238 deletions.
14 changes: 7 additions & 7 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/ileitch/swift-filename-matcher",
"state" : {
"revision" : "8cc02e902f651bb5812860011ee13707b9e037df",
"version" : "0.1.2"
"revision" : "17eaeaf60f2703e3ef826de94149c88a78953fd3",
"version" : "0.1.1"
}
},
{
"identity" : "swift-indexstore",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kateinoigakukun/swift-indexstore",
"location" : "https://github.com/ileitch/swift-indexstore",
"state" : {
"revision" : "9363af98d32247bf953855fc99d1f1f1ef803e43",
"version" : "0.3.0"
"revision" : "e0046a1704e2e7af88355883247ee1f9d47ed9ee",
"version" : "9.0.4"
}
},
{
Expand All @@ -77,8 +77,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/tuist/xcodeproj",
"state" : {
"revision" : "a1ff175a2f3bfbec166f33b264263c55f2149720",
"version" : "8.23.2"
"revision" : "c15e011dc0ea74f7833bf33c2791483beb9c7577",
"version" : "8.23.1"
}
},
{
Expand Down
24 changes: 1 addition & 23 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/jpsim/Yams", from: "5.0.0"),
.package(url: "https://github.com/tadija/AEXML", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/kateinoigakukun/swift-indexstore", from: "0.3.0"),
.package(url: "https://github.com/ileitch/swift-indexstore", from: "9.0.4"),
.package(url: "https://github.com/apple/swift-syntax", from: "600.0.0-prerelease-2024-08-14"),
.package(url: "https://github.com/ileitch/swift-filename-matcher", from: "0.0.0"),
]
Expand Down Expand Up @@ -64,17 +64,6 @@ var targets: [PackageDescription.Target] = [
.product(name: "SwiftIndexStore", package: "swift-indexstore"),
]
),
.target(name: "BaseLogger"),
.target(
name: "Configuration",
dependencies: [
.product(name: "FilenameMatcher", package: "swift-filename-matcher"),
.product(name: "Yams", package: "Yams"),
.product(name: "SystemPackage", package: "swift-system"),
.target(name: "BaseLogger"),
.target(name: "Shared"),
]
),
.target(
name: "ProjectDrivers",
dependencies: projectDriverDependencies
Expand All @@ -93,8 +82,6 @@ var targets: [PackageDescription.Target] = [
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.target(name: "Shared"),
.target(name: "Configuration"),
.target(name: "Utils"),
]
),
.target(
Expand All @@ -105,15 +92,6 @@ var targets: [PackageDescription.Target] = [
.product(name: "FilenameMatcher", package: "swift-filename-matcher"),
]
),
.target(
name: "Utils",
dependencies: [
.product(name: "Yams", package: "Yams"),
.product(name: "SystemPackage", package: "swift-system"),
.product(name: "FilenameMatcher", package: "swift-filename-matcher"),
.target(name: "Configuration"),
]
),
.target(
name: "TestShared",
dependencies: [
Expand Down
77 changes: 0 additions & 77 deletions Sources/BaseLogger/BaseLogger.swift

This file was deleted.

3 changes: 1 addition & 2 deletions Sources/Frontend/Commands/CheckUpdateCommand.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import ArgumentParser
import Foundation
import Utils
import BaseLogger
import Shared

struct CheckUpdateCommand: FrontendCommand {
static let configuration = CommandConfiguration(
Expand Down
1 change: 0 additions & 1 deletion Sources/Frontend/Commands/ClearCacheCommand.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import ArgumentParser
import Foundation
import Shared
import Utils

struct ClearCacheCommand: FrontendCommand {
static let configuration = CommandConfiguration(
Expand Down
2 changes: 1 addition & 1 deletion Sources/Frontend/Commands/FrontendCommand.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ArgumentParser
import BaseLogger
import Shared

protocol FrontendCommand: ParsableCommand {}
extension FrontendCommand {
Expand Down
2 changes: 0 additions & 2 deletions Sources/Frontend/Commands/ScanBehavior.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import Foundation
import PeripheryKit
import Shared
import SystemPackage
import Configuration
import Utils

final class ScanBehavior {
private let configuration: Configuration
Expand Down
1 change: 0 additions & 1 deletion Sources/Frontend/Commands/ScanCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import ArgumentParser
import Foundation
import Shared
import SystemPackage
import Configuration

struct ScanCommand: FrontendCommand {
static let configuration = CommandConfiguration(
Expand Down
2 changes: 0 additions & 2 deletions Sources/Frontend/CommonSetupGuide.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Foundation
import Shared
import Configuration
import BaseLogger

final class CommonSetupGuide: SetupGuideHelpers {
private let configuration: Configuration
Expand Down
2 changes: 0 additions & 2 deletions Sources/Frontend/GuidedSetup.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Foundation
import Shared
import Configuration
import BaseLogger

#if canImport(XcodeSupport)
import XcodeSupport
Expand Down
1 change: 0 additions & 1 deletion Sources/Frontend/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Foundation
import ProjectDrivers
import Shared
import SystemPackage
import Configuration

final class Project {
static func identify() throws -> Self {
Expand Down
1 change: 0 additions & 1 deletion Sources/Frontend/SPMProjectSetupGuide.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Foundation
import Shared
import SystemPackage
import ProjectDrivers

final class SPMProjectSetupGuide: SetupGuideHelpers, SetupGuide {
static func detect() -> Self? {
Expand Down
3 changes: 0 additions & 3 deletions Sources/Frontend/Scan.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import PeripheryKit
import ProjectDrivers
import Shared
import SourceGraph
import Configuration
import Utils
import BaseLogger

final class Scan {
private let configuration: Configuration
Expand Down
4 changes: 1 addition & 3 deletions Sources/Frontend/UpdateChecker.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Foundation
import Shared
import Configuration
import Utils
import BaseLogger

#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
Expand Down
2 changes: 1 addition & 1 deletion Sources/Frontend/main.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ArgumentParser
import Foundation
import Utils
import Shared

Logger.configureBuffering()

Expand Down
2 changes: 1 addition & 1 deletion Sources/Indexer/IndexPipeline.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import Shared
import SourceGraph
import Utils

public struct IndexPipeline {
private let plan: IndexPlan
Expand Down
2 changes: 1 addition & 1 deletion Sources/Indexer/Indexer.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FilenameMatcher
import Foundation
import Shared
import SourceGraph
import SystemPackage
import Configuration

class Indexer {
private let configuration: Configuration
Expand Down
2 changes: 0 additions & 2 deletions Sources/Indexer/InfoPlistIndexer.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Shared
import SourceGraph
import SystemPackage
import Utils
import Configuration

final class InfoPlistIndexer: Indexer {
private let infoPlistFiles: Set<FilePath>
Expand Down
2 changes: 0 additions & 2 deletions Sources/Indexer/SourceFileCollector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import Shared
import SourceGraph
import SwiftIndexStore
import SystemPackage
import Utils
import Configuration

public struct SourceFileCollector {
private let indexStorePaths: Set<FilePath>
Expand Down
2 changes: 0 additions & 2 deletions Sources/Indexer/SwiftIndexer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import SourceGraph
import SwiftIndexStore
import SyntaxAnalysis
import SystemPackage
import Utils
import Configuration

public struct IndexUnit {
let store: IndexStore
Expand Down
2 changes: 0 additions & 2 deletions Sources/Indexer/XCDataModelIndexer.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Shared
import SourceGraph
import SystemPackage
import Utils
import Configuration

final class XCDataModelIndexer: Indexer {
private let files: Set<FilePath>
Expand Down
2 changes: 0 additions & 2 deletions Sources/Indexer/XCMappingModelIndexer.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Shared
import SourceGraph
import SystemPackage
import Utils
import Configuration

final class XCMappingModelIndexer: Indexer {
private let files: Set<FilePath>
Expand Down
2 changes: 0 additions & 2 deletions Sources/Indexer/XibIndexer.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Shared
import SourceGraph
import SystemPackage
import Utils
import Configuration

final class XibIndexer: Indexer {
private let xibFiles: Set<FilePath>
Expand Down
1 change: 0 additions & 1 deletion Sources/PeripheryKit/Results/CheckstyleFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Foundation
import Shared
import SourceGraph
import SystemPackage
import Configuration

final class CheckstyleFormatter: OutputFormatter {
let configuration: Configuration
Expand Down
1 change: 0 additions & 1 deletion Sources/PeripheryKit/Results/CodeClimateFormatter.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Foundation
import Shared
import SystemPackage
import Configuration

final class CodeClimateFormatter: OutputFormatter {
let configuration: Configuration
Expand Down
1 change: 0 additions & 1 deletion Sources/PeripheryKit/Results/CsvFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Foundation
import Shared
import SourceGraph
import SystemPackage
import Configuration

final class CsvFormatter: OutputFormatter {
let configuration: Configuration
Expand Down
1 change: 0 additions & 1 deletion Sources/PeripheryKit/Results/GitHubActionsFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Foundation
import Shared
import SourceGraph
import SystemPackage
import Configuration

final class GitHubActionsFormatter: OutputFormatter {
let configuration: Configuration
Expand Down
1 change: 0 additions & 1 deletion Sources/PeripheryKit/Results/JsonFormatter.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Foundation
import Shared
import SystemPackage
import Configuration

final class JsonFormatter: OutputFormatter {
let configuration: Configuration
Expand Down
3 changes: 1 addition & 2 deletions Sources/PeripheryKit/Results/OutputDeclarationFilter.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import FilenameMatcher
import Foundation
import Shared
import SystemPackage
import Configuration
import Utils

public final class OutputDeclarationFilter {
private let configuration: Configuration
Expand Down
2 changes: 0 additions & 2 deletions Sources/PeripheryKit/Results/OutputFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import Foundation
import Shared
import SourceGraph
import SystemPackage
import Configuration
import BaseLogger

public protocol OutputFormatter: AnyObject {
var configuration: Configuration { get }
Expand Down
Loading

0 comments on commit b95995a

Please sign in to comment.