erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Don't require repo arg for building under certain conditions #303

Closed starbelly closed 2 years ago

starbelly commented 2 years ago

Most cases for using the build provider shouldn't require specifying a repo argument. The exception is when there is more than one repo found and at least one has doc config set on the repo.

starbelly commented 2 years ago

@ferd I squashed and forced pushed

  1. Got rid of the hack in favor of just using the default hexpm repo which aligns with our current documentation.
  2. Don't do a bunch of checks to see if there are any repos with doc config, instead if you want to use repo with doc config, you must specify it.
  3. Added deprecation warning if a repo is used with doc config