#! /usr/bin/env bash # Test repository. # # Usage: update [options] # # First, the script determines the list of repositories/sections. If # contains the repositories.manifest file, then it is the only repository to # be tested. Otherwise, every first-level subdirectory of that doesn't # start with '.' and contains the repositories.manifest file is to be tested. # # Then, it makes sure that every package in every repository can be built # in a clean configuration. # # -n # Only test new packages. For this to work, should be (part of) a # git repository. Untracked (and changed) files are considered new. # # -e # Exclude the specified sub-directory. Currently only one directory can # be excluded. # # -t # Specify the build2 toolchain install/stage directory. The script will # use /bin/b and /bin/bpkd instead of just b and # bpkg. # # -c