From 6d18935388938d594502c26803d5bfd7be35152d Mon Sep 17 00:00:00 2001 From: Til <89487150+TechnikTil@users.noreply.github.com> Date: Fri, 4 Jul 2025 11:45:04 -0700 Subject: [PATCH] use `haxelib run lime` for compiling, so that lime from `cne setup` is used for compiling (#674) --- commandline/commands/Compiler.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/commandline/commands/Compiler.hx b/commandline/commands/Compiler.hx index fe64c198..2b8338bf 100644 --- a/commandline/commands/Compiler.hx +++ b/commandline/commands/Compiler.hx @@ -17,7 +17,10 @@ class Compiler { private static function __build(args:Array, arg:Array) { for(a in args) arg.push(a); - Sys.command("lime", arg); + + arg = ['run', 'lime'].concat(arg); + + Sys.command("haxelib", arg); } public static function getBuildTarget() {