Skip to content

Commit

Permalink
Detect empty standard library directory (#3207)
Browse files Browse the repository at this point in the history
* Closes #3185
  • Loading branch information
lukaszcz authored Dec 2, 2024
1 parent dc8d4b7 commit fcd59c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ if [ ! -d "config" ]; then
exit 1
fi

if [ -z "$( ls -A 'juvix-stdlib' )" ]; then
printf "Empty standard library directory.\nDid you remember to clone with the --recursive option?\nTry running:\n git submodule init\n git submodule update\n" 1>&2
exit 1
fi

if [ -z "$CC" ]; then
CC="clang"
fi
Expand Down

0 comments on commit fcd59c9

Please sign in to comment.