summaryrefslogtreecommitdiffstats
path: root/tools/meson-check-compilation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/meson-check-compilation.sh')
-rwxr-xr-xtools/meson-check-compilation.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/meson-check-compilation.sh b/tools/meson-check-compilation.sh
new file mode 100755
index 0000000..ce39e16
--- /dev/null
+++ b/tools/meson-check-compilation.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eu
+
+"$@" '-' -o/dev/null </dev/null