From 332c8205d0bdad5b1ef3822e3f9fb228daf8ec9b Mon Sep 17 00:00:00 2001 From: Mark Knol Date: Wed, 10 Apr 2019 15:07:56 +0200 Subject: [PATCH] fix output path --- haxelib.json | 4 ++-- run.n | Bin 66384 -> 66464 bytes src/Main.hx | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/haxelib.json b/haxelib.json index 903fb48..c1654f6 100644 --- a/haxelib.json +++ b/haxelib.json @@ -4,8 +4,8 @@ "license": "MIT", "tags": ["cross", "haxe"], "description": "Create new Haxe projects in a blast!", - "version": "1.0.0", - "releasenote": "Support lix projects. Tool version can be logged. Project name validation. More logging, better argument error handling. Disallow generate new project in existing folder. Don't generate makefile by default.", + "version": "1.0.1", + "releasenote": "Support lix projects. Tool version can be logged. Project name validation. More logging, better argument error handling. Disallow generate new project in existing folder. Don't generate makefile by default. ", "contributors": ["markknol"], "dependencies": { "hxargs": "" diff --git a/run.n b/run.n index ee8f1834b47864cc8693386c0b0ccd2ad51db482..8d1d3675790ddc1e5e1ca96e4a02c8d8f2116739 100644 GIT binary patch delta 13978 zcmai52V7Lg^MCt}?os6^@6iuXkR~7q>O1TR&u;93sE42wgJ|s7<)?{l5>0H0Ni-&E z)SM=2tcfWaYnnBR#)1YFYmD_j^X~BOVSfJ~elq*rnc3Oh+1dIo$7kDpFvrfdOZ)7u z>v@iw&p0k;i)#-JYib&-xoRK4O4FNi8b_{kUSUaG!8nbbf;1Yg#P|kuaBkr^RNy$C ziBRbr2m76M4tkMe{Bk(w9K=3_C(hm373l1e!Qx@QOAFQ;4!PX*gJ6!+IB{iT$YOC3 z+C&)3XTYxw^lYc;QG=;Gi-z%TK@J6xXgnBJx_!%%s^v!I4IP;`+!!}v zbZH5;Fp<;Pa|v+?aZNFkWZL20mjw%4N$D_SZgJ_bF-6AF1LKAimJBS&8)u9gT0Be> z#lbPJXz1hV$L7E&&qe&@7|?hX^MAye%Dnb7_8KI65BKVrgtfaRV~q}6Y%w|@1h#s| z@{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KA`2d+o{C$N{Wy_ck@2+^KstaKc z9iESvwN^Y>b&&XJI=%zXe5y7uW?!XMv8GksD0`c-7=Tf%W7Q^}X&aKvswfppt=h=r W&mu6$ZE1HD#>tviEqnj6>Hh%Y(ijc^ diff --git a/src/Main.hx b/src/Main.hx index c07fd6c..0be166a 100644 --- a/src/Main.hx +++ b/src/Main.hx @@ -83,6 +83,8 @@ class Main { if (!FileSystem.exists(value)) { Sys.println('[error] Invalid command "$value"'); doGenerate = false; + } else { + project.curPath = value; } } ]); @@ -110,8 +112,9 @@ class Project { public var name:String; public var binPath:String = "bin"; public var srcPath:String = "src"; - public var curPath:String = Sys.getCwd(); public var classPath:String = ""; + + public var curPath:String = ""; public var outPath:String; public var doCreateMainClass:Bool = true; @@ -141,7 +144,6 @@ class Project { if (!outPath.endsWith("/")) outPath += "/"; if (!binPath.endsWith("/")) binPath += "/"; if (!srcPath.endsWith("/")) srcPath += "/"; - if (!curPath.endsWith("/")) curPath += "/"; if (targets.length == 0) targets.push(DEFAULT_TARGET); @@ -449,7 +451,6 @@ class Project { .replace("$outPath", outPath) .replace("$binPath", binPath) .replace("$srcPath", srcPath) - .replace("$curPath", curPath) .replace("$classPath", classPath) .replace("$name", name); }