Nicolas Cannasse 14 years ago
parent
commit
ceb1bfc924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/tools/haxelib/Main.hx

+ 1 - 1
std/tools/haxelib/Main.hx

@@ -664,7 +664,7 @@ class Main {
 	function checkRec( prj : String, version : String, l : List<{ project : String, version : String }> ) {
 	function checkRec( prj : String, version : String, l : List<{ project : String, version : String }> ) {
 		var pdir = getRepository() + Datas.safe(prj);
 		var pdir = getRepository() + Datas.safe(prj);
 		if( !neko.FileSystem.exists(pdir) )
 		if( !neko.FileSystem.exists(pdir) )
-			throw "Project "+prj+" is not installed";
+			throw "Project "+prj+" is not installed : run 'haxelib install "+prj+"'";
 		var version = if( version != null ) version else neko.io.File.getContent(pdir+"/.current");
 		var version = if( version != null ) version else neko.io.File.getContent(pdir+"/.current");
 		var vdir = pdir + "/" + Datas.safe(version);
 		var vdir = pdir + "/" + Datas.safe(version);
 		if( !neko.FileSystem.exists(vdir) )
 		if( !neko.FileSystem.exists(vdir) )