We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb30a31 commit 37cea50Copy full SHA for 37cea50
1 file changed
entry.sh
@@ -2,7 +2,7 @@
2
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Zerocracy
3
# SPDX-License-Identifier: MIT
4
5
-set -ex
+set -e
6
set -o pipefail
7
8
id=$1
@@ -17,7 +17,17 @@ if [ -z "${home}" ]; then
17
exit 1
18
fi
19
20
-self=$(dirname "$0")
+if [ ! -d "${home}" ]; then
21
+ echo "Directory '${home}' does not exist"
22
+ exit 1
23
+fi
24
+
25
+if ! command -v judges &>/dev/null; then
26
+ echo "'judges' executable not found. Make sure the 'judges' gem is installed."
27
28
29
30
+self=$(cd "$(dirname "$0")" && pwd)
31
-judges --verbose update --quiet --summary --max-cycles=3 --no-log \
32
+judges update --summary --max-cycles=3 --no-log \
33
--option "id=${id}" --lib "${self}/lib" "${self}/judges" "${home}/base.fb"
0 commit comments