Skip to content

Commit

Permalink
Detect empty standard library directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Dec 1, 2024
1 parent 5fea31e commit 7103a5e
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 7103a5e

Please sign in to comment.