Skip to content

Commit 9da9b7f

Browse files
Update checks.sh
1 parent b498a00 commit 9da9b7f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/checks.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ if [ ! -d "_just" ]; then
1010
echo " ✕ (root)/_just/style/"
1111
echo " ✕ (root)/_just/404.html"
1212
echo ""
13+
echo "End _just Checks"
14+
echo ""
15+
echo "----------------"
16+
echo ""
1317
echo "Error: The _just directory is missing in the root. Please create it to proceed." >&2
1418
exit 1
1519
fi
@@ -24,6 +28,10 @@ if [ ! -d "_just/js" ]; then
2428
echo " ? (root)/_just/style/"
2529
echo " ? (root)/_just/404.html"
2630
echo ""
31+
echo "End _just Checks"
32+
echo ""
33+
echo "----------------"
34+
echo ""
2735
echo "Error: The js directory is missing in the _just directory. Please create it to proceed." >&2
2836
exit 1
2937
fi
@@ -38,6 +46,10 @@ if [ ! -d "_just/style" ]; then
3846
echo " ✕ (root)/_just/style/"
3947
echo " ? (root)/_just/404.html"
4048
echo ""
49+
echo "End _just Checks"
50+
echo ""
51+
echo "----------------"
52+
echo ""
4153
echo "Error: The style directory is missing in the _just directory. Please create it to proceed." >&2
4254
exit 1
4355
fi
@@ -52,6 +64,10 @@ if [ ! -f "_just/404.html" ]; then
5264
echo " ✓ (root)/_just/style/"
5365
echo " ✕ (root)/_just/404.html"
5466
echo ""
67+
echo "End _just Checks"
68+
echo ""
69+
echo "----------------"
70+
echo ""
5571
echo "Error: The _just/404.html file is missing." >&2
5672
exit 1
5773
fi
@@ -65,3 +81,7 @@ echo " ✓ (root)/_just/js/"
6581
echo " ✓ (root)/_just/style/"
6682
echo " ✓ (root)/_just/404.html"
6783
echo ""
84+
echo "End _just Checks"
85+
echo ""
86+
echo "----------------"
87+
echo ""

0 commit comments

Comments
 (0)