]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - ci/run
.gitlab-ci.yml: use ci/run and switch to GOPATH-less build
[nsscash/nsscash.git] / ci / run
diff --git a/ci/run b/ci/run
index 72170679799029c698dd42191a87584d9478fc61..d4bd6f503da727c29d9b4a1271287daaa49f0c18 100755 (executable)
--- a/ci/run
+++ b/ci/run
@@ -4,13 +4,18 @@ set -eu
 set -x
 
 
-make
-make test
+flags=
+if test $# -ne 0; then
+    flags="$*"
+fi
+
+make      $flags
+make test $flags
 
 test -z "$(git clean -nd)" # any untracked files left?
 make clean
 test -z "$(git clean -ndx)" # any unignored files left?
 
 # Build with clang
-make      CC=clang
-make test CC=clang
+make      CC=clang $flags
+make test CC=clang $flags