From e567b330680aaba2cc2125b870047b67d10213e4 Mon Sep 17 00:00:00 2001 From: Ne_Eo Date: Fri, 16 Aug 2024 18:19:17 +0200 Subject: [PATCH] Update Update.hx --- commandline/commands/Update.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commandline/commands/Update.hx b/commandline/commands/Update.hx index eb269572..2513f747 100644 --- a/commandline/commands/Update.hx +++ b/commandline/commands/Update.hx @@ -51,7 +51,7 @@ class Update { function handleLib(libNode:Access) { switch(libNode.name) { - case "lib" | "git": + case "lib" | "git" | "custom": var lib:Library = { name: libNode.att.name, type: libNode.name @@ -149,7 +149,7 @@ class Update { prettyPrint((lib.global == "true" ? "Globally installing" : "Locally installing") + ' "${lib.name}" from git url "${lib.url}"'); Sys.command('haxelib$commandPrefix git ${lib.name} ${lib.url}${lib.ref != null ? ' ${lib.ref}' : ''}'); case "custom": - Sys.command('haxelib dev ${lib.name} "./libraries/${lib.name}"'); + Sys.command('haxelib$commandPrefix dev ${lib.name} "./libraries/${lib.name}"'); default: prettyPrint('Cannot resolve library of type "${lib.type}"'); }