For local development, you can use the LOCAL and PACKAGE variables, like so:
LOCAL=yes PACKAGE=ruby-2.5.0 ./script/build
LOCALadds verbosity and disables updating the repositories.PACKAGEspecifies which package to build instead of all packages.