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
46 changes: 23 additions & 23 deletions Package.resolved

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

8 changes: 3 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,16 @@ let package = Package(
name: "RedmineBot",
dependencies: [
.package(url: "https://github.com/IBM-Swift/SwiftyRequest.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.0.0"),
.package(url: "https://github.com/kylef/Commander", from: "0.8.0"),
.package(url: "https://github.com/kylef/Stencil", .branch("master")),
.package(url: "https://github.com/IBM-Swift/swift-html-entities", .upToNextMajor(from: "3.0.0"))
.package(url: "https://github.com/IBM-Swift/swift-html-entities", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/marcuswu0814/SwiftCLIToolbox", .branch("master"))
],
targets: [
.target(
name: "RedmineBot",
dependencies: ["RedmineBotCore"]),
.target(
name: "RedmineBotCore",
dependencies: ["SwiftyRequest", "Rainbow", "Commander", "Stencil", "HTMLEntities"]),
dependencies: ["SwiftyRequest", "HTMLEntities", "SwiftCLIToolbox"]),
.testTarget(
name: "RedmineBotTest",
dependencies: ["RedmineBotCore"])
Expand Down
1 change: 1 addition & 0 deletions Sources/RedmineBot/main.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Commander
import RedmineBotCore
import Foundation

Group {

Expand Down
1 change: 1 addition & 0 deletions Sources/RedmineBotCore/API/CommentRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import SwiftyRequest
import Stencil
import PathKit
import HTMLEntities
import SwiftCLIToolbox

struct CommentContext {
let content: String
Expand Down
1 change: 1 addition & 0 deletions Sources/RedmineBotCore/Command/PostCommitHookCommand.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Foundation
import Commander
import PathKit
import SwiftCLIToolbox

public class PostCommitHookCommand: CommandProtocol {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Foundation
import PathKit
import Commander
import SwiftCLIToolbox

public class PostRewriteHookCommand: CommandProtocol {

Expand Down
39 changes: 0 additions & 39 deletions Sources/RedmineBotCore/Utility/Bash.swift

This file was deleted.

43 changes: 0 additions & 43 deletions Sources/RedmineBotCore/Utility/Git.swift

This file was deleted.

1 change: 1 addition & 0 deletions Sources/RedmineBotCore/Utility/Path+RedmineBot.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import PathKit
import SwiftCLIToolbox

extension Path {

Expand Down
28 changes: 0 additions & 28 deletions Sources/RedmineBotCore/Utility/SwiftScriptRunner.swift

This file was deleted.

1 change: 1 addition & 0 deletions Tests/RedmineBotTest/BashTest.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import XCTest
import Foundation
import PathKit
import SwiftCLIToolbox
@testable import RedmineBotCore

class BashTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/RedmineBotTest/GitTest.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import XCTest
import Foundation
import PathKit
import SwiftCLIToolbox
@testable import RedmineBotCore

class GitTest: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions Tests/RedmineBotTest/Utility/MockGit.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import SwiftCLIToolbox
@testable import RedmineBotCore

class MockGit: GitProtocol {
Expand Down
1 change: 1 addition & 0 deletions Tests/RedmineBotTest/Utility/TempGitRepo.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Foundation
import PathKit
import SwiftCLIToolbox
@testable import RedmineBotCore

struct TempGitRepo {
Expand Down