code consistency for add command
- factor out common code to add dependency
- also support <package>=<version-specifier> depspecs in dub's
  interactive init
- more specific handling of exceptions around querying registry
- abort dub add when querying latest version fails
- replace self-written (and incomplete) recipe finder and loader
  with existing loadCwdPackage and use package's rawRecipe
1 parent bf6f56d commit 5e28c84bb4bf6e42a5c331f4ef75d3dbbb525fc0
@Martin Nowak Martin Nowak authored on 24 Dec 2018
Showing 2 changed files
View
source/dub/commandline.d
View
test/issue1574-addcommand.sh