Skip to content

Commit

Permalink
Update to 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yonaskolb committed Oct 24, 2021
1 parent 8fd6f95 commit bd1a48c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TOOL_NAME = Genesis
export EXECUTABLE_NAME = genesis
VERSION = 0.5.0
VERSION = 0.6.0

PREFIX = /usr/local
INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME)
Expand Down
2 changes: 1 addition & 1 deletion Sources/GenesisCLI/GenerateCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GenerateCommand: Command {
context = ProcessInfo.processInfo.environment

// extract options from option path
if let optionPath = self.optionPath.value {
if let optionPath = optionPath.value {
let path = Path(optionPath)
if !path.exists {
stream.out <<< "Option path \(optionPath) doesn't exist"
Expand Down
2 changes: 1 addition & 1 deletion Sources/GenesisCLI/GenesisCLI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import SwiftCLI

public class GenesisCLI {

public let version = "0.5.0"
public let version = "0.6.0"
let cli: CLI
let stream: Streams

Expand Down
4 changes: 2 additions & 2 deletions Sources/GenesisKit/Input.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import Foundation
import SwiftCLI

extension Input {
public extension Input {

public static func readOption(options: [String], prompt: String) -> String {
static func readOption(options: [String], prompt: String) -> String {
let optionsString = options.enumerated()
.map { " \($0.offset + 1). \($0.element)" }
.joined(separator: "\n")
Expand Down

0 comments on commit bd1a48c

Please sign in to comment.