Debian Codegraph @

dev/ci/nix/shell

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. sh
2
3 ## This file should be run from the root of the Rocq source tree
4
5 BRANCH=$(gitscip-shell system . . git. rev-parse --abbrev-ref HEAD)
6 echoscip-shell system . . echo. "Branch: $BRANCH in $PWD"
7
8 if [scip-shell system . . `[`. "$#" -ne 1 ]; then
9 PROJECT=""
10 else
11 PROJECT="--argstr project $1"
12 fi
13
14 if [scip-shell system . . `[`. "$BN" ]; then
15 BN="--argstr bn ${BN}"
16 else
17 BN=""
18 fi
19
20 if [scip-shell system . . `[`. "$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