tools/toolbox: Expose --reconfigure meson flag
It turns out that nowadays meson updates don't always require a full wipe of an existing build dir, but `--reconfigure` is often enough. So let's expose that flag as well. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3187>
This commit is contained in:
parent
c461f2d128
commit
a27ba309dd
@ -16,6 +16,7 @@ usage() {
|
|||||||
|
|
||||||
-Dkey=val Option to pass to meson setup
|
-Dkey=val Option to pass to meson setup
|
||||||
--dist Run meson dist
|
--dist Run meson dist
|
||||||
|
--reconfigure Reconfigure the project
|
||||||
--wipe Wipe build directory and reconfigure
|
--wipe Wipe build directory and reconfigure
|
||||||
|
|
||||||
-h, --help Display this help
|
-h, --help Display this help
|
||||||
@ -50,6 +51,7 @@ TEMP=$(getopt \
|
|||||||
--options 't:D:h' \
|
--options 't:D:h' \
|
||||||
--longoptions 'toolbox:' \
|
--longoptions 'toolbox:' \
|
||||||
--longoptions 'dist' \
|
--longoptions 'dist' \
|
||||||
|
--longoptions 'reconfigure' \
|
||||||
--longoptions 'wipe' \
|
--longoptions 'wipe' \
|
||||||
--longoptions 'help' \
|
--longoptions 'help' \
|
||||||
-- "$@") || die "Run $(basename $0) --help to see available options"
|
-- "$@") || die "Run $(basename $0) --help to see available options"
|
||||||
@ -71,6 +73,11 @@ while true; do
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--reconfigure)
|
||||||
|
RECONFIGURE=--reconfigure
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
|
||||||
--wipe)
|
--wipe)
|
||||||
WIPE=--wipe
|
WIPE=--wipe
|
||||||
shift
|
shift
|
||||||
|
Loading…
Reference in New Issue
Block a user