refactor(env): refactor env module
test / test (push) Failing after 31m39s

This commit is contained in:
2026-10-27 01:18:23 +03:00
parent cf3a707a47
commit fc7f97b520
6 changed files with 33 additions and 27 deletions
+6 -6
View File
@@ -4,7 +4,7 @@ import rename from "gulp-rename";
import os from "os";
import path from "path";
import vfs from "vinyl-fs";
import { Env } from "../common/env";
import env from "../common/env";
import exec from "../common/exec";
import { System } from "../common/system";
import template from "../common/template";
@@ -68,11 +68,11 @@ export class Haxe extends Sdk {
activate() {
this.neko.activate();
Env.set("HAXE_VERSION", this.version);
Env.set("HAXE_STD_PATH", path.join(this.path, "std"));
Env.set("HAXE_HOME", this.path);
Env.addPath(this.path);
Env.addPath(this.path, "LD_LIBRARY_PATH");
env.set("HAXE_VERSION", this.version);
env.set("HAXE_STD_PATH", path.join(this.path, "std"));
env.set("HAXE_HOME", this.path);
env.addPath(this.path);
env.addPath(this.path, "LD_LIBRARY_PATH");
}
prepare() {