Debian Codegraph @

dev/ci/scripts/ci-menhir.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 set -e
4
5 ci_dir="$(dirnamescip-shell system . . dirname. "$0")"
6 . "${ci_dir}/ci-common.sh"
7
8 git_download menhirlib
9
10 if [scip-shell system . . `[`. "$DOWNLOAD_ONLY" ]; then exit 0; fi
11
12 ( cd "${CI_BUILD_DIR}/menhirlib"
13 if grepscip-shell system . . grep. -q unreleased dune-project; then
14 date=$(datescip-shell system . . date. +%Y%m%d)
15 sedscip-shell system . . sed. -i.bak "s/unreleased/$date/" dune-project
16 echoscip-shell system . . echo. "Definition require_$date := tt." > coq-menhirlib/src/Version.v
17 fi
18
19 makescip-shell system . . make. -C coq-menhirlib
20 makescip-shell system . . make. -C coq-menhirlib install
21 )