From: Michael Orlitzky Date: Fri, 6 Feb 2026 17:17:08 +0000 (-0500) Subject: sage.sh: new command sage-meson-install X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b426dabdca2aa8c94ab9c47751e246a52fc9bb56;p=shell.d.git sage.sh: new command sage-meson-install We have too many files to reinstall them all after every edit; this command will pass --only-changed by default. --- diff --git a/sage.sh b/sage.sh index 892434a..4ce68e4 100644 --- a/sage.sh +++ b/sage.sh @@ -32,3 +32,12 @@ sage-meson-setup() { -Dauto_features=disabled \ "${@}" } + +# A "meson install" command that passes --only-changed by default. +# This makes a huge difference in the install time as we have >= 5k +# files to install. +sage-meson-install() { + meson install \ + --only-changed \ + "${@}" +}