diff --git a/source/app.d b/source/app.d index 8d136ca..b8a57e1 100644 --- a/source/app.d +++ b/source/app.d @@ -134,7 +134,6 @@ return 0; case "install": enforce(args.length >= 2, "Missing package name."); - dub.loadPackageFromCwd(); auto location = InstallLocation.userWide; auto name = args[1]; enforce(!install_local || !install_system, "Cannot install locally and system wide at the same time."); @@ -149,6 +148,11 @@ dub.install(name, new Dependency("~master"), location); } } + /*if( add_dependency ){ + dub.loadPackageFromCwd(); + dub.addDependency(...); + } + */ break; case "uninstall": enforce(args.length >= 2, "Missing package name.");