Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allows for correct compilation even if no GIT repository is configures. #23

Closed
wants to merge 1 commit into from

2 participants

@shadinger

Compilation would fail if not GIT repository is configured, because "buildInfos.ml" would contain :

(line 11)
let opalang_git_version =

instead of

let opalang_git_version = 0

@akoprow akoprow closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  buildinfos/generate_buildinfos.sh
View
3  buildinfos/generate_buildinfos.sh
@@ -123,6 +123,9 @@ for repo in $REPOS ; do
if [ "$MLSTATE_DIFFING" = 1 ] ; then
echo "let ${repo}_git_version = 0"
echo "let ${repo}_git_sha = \"diffing\""
+ elif ! is_git_root $repo; then
+ echo "let ${repo}_git_version = 0"
+ echo "let ${repo}_git_sha = \"\""
else
if [ "$repo" = "$ROOT_REPO" ] ; then
echo "let ${repo}_git_version = $(in_repo $repo git_opalang_version_cmd)"
Something went wrong with that request. Please try again.