aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc.d')
-rw-r--r--shellrc.d/dev20
1 files changed, 10 insertions, 10 deletions
diff --git a/shellrc.d/dev b/shellrc.d/dev
index b365b62..f07e782 100644
--- a/shellrc.d/dev
+++ b/shellrc.d/dev
@@ -22,25 +22,25 @@ _meson_setup() {
}
mbuild() {
- _meson_setup
- meson compile -C build "$@"
+ _meson_setup \
+ && meson compile -C build "$@"
}
mtest() {
- _meson_setup
- meson test -C build "$@"
+ _meson_setup \
+ && meson test -C build "$@"
}
mcoverage() {
- _meson_setup
- meson configure build -Db_coverage=true
- meson test -C build "$@"
- ninja -C build coverage-html
+ _meson_setup \
+ && meson configure build -Db_coverage=true \
+ && meson test -C build "$@" \
+ && ninja -C build coverage-html
}
mdist() {
- _meson_setup
- meson dist -C build --formats xztar,gztar,zip "$@"
+ _meson_setup \
+ && meson dist -C build --formats xztar,gztar,zip "$@"
}
fi