feat(build.go): make setup take the base repo as an arg

the base repo might not be a package so use setup and take an arg