Debian Codegraph @

dev/ci/nix/shell

raw symbols SCIP
1 #!/usr/bin/env sh
2
3 ## This file should be run from the root of the Rocq source tree
4
5 BRANCH=$(git rev-parse --abbrev-ref HEAD)
6 echo "Branch: $BRANCH in $PWD"
7
8 if [ "$#" -ne 1 ]; then
9 PROJECT=""
10 else
11 PROJECT="--argstr project $1"
12 fi
13
14 if [ "$BN" ]; then
15 BN="--argstr bn ${BN}"
16 else
17 BN=""
18 fi
19
20 if [ "$NOCOQ" ]; then
21 NOCOQ="--arg withCoq false"
22 else
23 NOCOQ=""
24 fi
25
26 nix-shell ./dev/ci/nix/ --show-trace --argstr wd $PWD --argstr branch $BRANCH $PROJECT $BN $NOCOQ