From ac2a1ac2d6a46d833ce553882208131d575a5a1d Mon Sep 17 00:00:00 2001 From: mironal Date: Fri, 27 Oct 2017 11:45:18 +0900 Subject: [PATCH] add support --vesion option --- Sources/XcodeGen/main.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/XcodeGen/main.swift b/Sources/XcodeGen/main.swift index 30db7e1d..4a37ea08 100644 --- a/Sources/XcodeGen/main.swift +++ b/Sources/XcodeGen/main.swift @@ -15,6 +15,8 @@ import ProjectSpec import JSONUtilities import Rainbow +let version = "1.3.0" + func generate(spec: String, project: String) { let specPath = Path(spec).normalize() @@ -58,4 +60,4 @@ command( Option("spec", "project.yml", flag: "s", description: "The path to the spec file"), Option("project", "", flag: "p", description: "The path to the folder where the project should be generated"), generate) - .run() + .run(version)