Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
ci
Compare Revisions
39c267a40904232496986518530eea6169fb8168...e5889b234143d4f3c2b6d4a90e46b39802c00388
Commits (1)
also add dev repos when using a beta
· e5889b23
Ralf Jung
authored
Apr 06, 2018
e5889b23
Show whitespace changes
Inline
Side-by-side
prepare-opam.sh
View file @
e5889b23
...
@@ -26,7 +26,7 @@ if [[ -z "$FRESH_OPAM" ]]; then # skip if this is a fresh opam root
...
@@ -26,7 +26,7 @@ if [[ -z "$FRESH_OPAM" ]]; then # skip if this is a fresh opam root
fi
fi
# Make sure we got the right set of repositories registered
# Make sure we got the right set of repositories registered
if
echo
"
$@
"
|
f
grep
"dev"
>
/dev/null
;
then
if
echo
"
$@
"
|
e
grep
"
(
dev
|beta)
"
>
/dev/null
;
then
# We are compiling against a dev version of something. Get ourselves the dev repositories.
# We are compiling against a dev version of something. Get ourselves the dev repositories.
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
||
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
-p
0
test
-d
"
$OPAMROOT
/repo/coq-extra-dev"
||
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
-p
0
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
||
opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev
-p
5
test
-d
"
$OPAMROOT
/repo/coq-core-dev"
||
opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev
-p
5
...
...