docs: def build(check, sdist):
      """Build a wheel for a check as it is on the repo HEAD"""
      if check in get_valid_checks():
          check_dir = os.path.join(get_root(), check)
      else:
          check_dir = resolve_path(check)
          if not dir_exists(check_dir):
              abort('`{}` is not an Agent-based Integration or Python package'.format(check))
  
          check = basepath(check_dir)
  
      echo_waiting('Building `{}`...'.format(check))
  
      dist_dir = os.path.join(check_dir, 'dist')
      remove_path(dist_dir)
  
      result = build_package(check_dir, sdist)
      if result.code != 0:
          abort(result.stdout, result.code)
  
      echo_info('Build done, artifact(s) in: {}'.format(dist_dir))
      echo_success('Success!')