Explorar o código

added $$getEnv

ncannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
df08c73668
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      other/haxelib/Run.hx

+ 1 - 0
other/haxelib/Run.hx

@@ -112,6 +112,7 @@ class Build {
 						return dir == "" ? "./" : (StringTools.endsWith(dir,"/") || StringTools.endsWith(dir,"\\")) ? dir : dir + "/";
 					},
 					winPath : function(_,s:String) return s.split("/").join("\\"),
+					getEnv : function(_,s:String) return Sys.getEnv(s),
 				});
 				var prevContent = try sys.io.File.getContent(targetPath) catch( e : Dynamic ) null;
 				if( prevContent != content )