diff --git a/hmm.json b/hmm.json index 42c522cf..a20ce299 100644 --- a/hmm.json +++ b/hmm.json @@ -39,7 +39,7 @@ { "name": "hxCodec", "type": "haxelib", - "version": null + "version": "2.5.1" }, { "name": "lime", diff --git a/update/Update.hx b/update/Update.hx index 98b502c9..aba7441a 100644 --- a/update/Update.hx +++ b/update/Update.hx @@ -14,8 +14,8 @@ class Update { // install libs switch(lib.type) { case "haxelib": - prettyPrint('Installing "${lib.name}"...'); - Sys.command('haxelib install ${lib.name}'); + prettyPrint('Installing "${lib.name}"...'); + Sys.command('haxelib install ${lib.name} ${lib.version != null ? " " + lib.version : " "}'); case "git": prettyPrint('Installing "${lib.name}" from git url "${lib.url}"'); Sys.command('haxelib git ${lib.name} ${lib.url}');