diff --git a/Sources/plank/Cli.swift b/Sources/plank/Cli.swift index 893daf6a..ed71c3eb 100644 --- a/Sources/plank/Cli.swift +++ b/Sources/plank/Cli.swift @@ -225,5 +225,5 @@ func handleHelpCommand() { func handleVersionCommand() { - print(PLANK_VERSION) + print(Version.current.value) } diff --git a/Sources/plank/Version.swift b/Sources/plank/Version.swift index 46d26c5b..65b80b20 100644 --- a/Sources/plank/Version.swift +++ b/Sources/plank/Version.swift @@ -1 +1,14 @@ -let PLANK_VERSION = "1.4.1" +// +// Version.swift +// Plank +// +// Created by Michael Schneider on 8/15/18. +// + +import Foundation + +public struct Version { + public let value: String + + public static let current = Version(value: "1.4.1") +}