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
Dmitry Khalanskiy
Iris
Commits
f0b8ee66
Commit
f0b8ee66
authored
Oct 26, 2017
by
Ralf Jung
Browse files
don't try to be smart about having an up-to-date opam
parent
7ccbd319
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/opam-ci.sh
View file @
f0b8ee66
...
...
@@ -19,13 +19,8 @@ eval `opam conf env`
run_and_print make build-dep/opam
# Update repositories
if
test
$(
find
"
$OPAMROOT
/repo/package-index"
-mtime
+0
)
;
then
# last update was more than a day ago
run_and_print opam update
else
# only update iris-dev, and only if it already exists
if
test
-d
"
$OPAMROOT
/repo/iris-dev"
;
then
run_and_print opam update iris-dev
;
fi
fi
run_and_print opam update
# Make sure we got the right set of repositories registered
if
echo
"
$@
"
| fgrep
"dev"
;
then
# We are compiling against a dev version of something. Get ourselves the dev repositories.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment