We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7aea25 commit 13719cbCopy full SHA for 13719cb
.ci-scripts/check-code-samples.bash
@@ -9,6 +9,7 @@ echo "Check $files files …"
9
failedFiles=()
10
i=0
11
$HOME/.local/share/ponyup/bin/ponyc
12
+ls -l
13
for file in *.pony; do
14
((i++))
15
percentage=$(((i*100)/files))
@@ -19,9 +20,9 @@ for file in *.pony; do
19
20
#$HOME/.local/share/ponyup/bin/ponyc #"$GITHUB_WORKSPACE/code-samples/$file"
21
#if [ $? -eq 0 ]; then
22
if [ -f "$file.ll" ] && [ -f "$file.s" ]; then
- echo -e "\e[1;32m\u2705 File fulfilled expectations\e[0m"
23
+ echo -e "\e[1;32m\u2705 File could be compiled successfully\e[0m"
24
else
- echo -e "\e[1;31m\u274C File didn't fulfill expectations\e[0m"
25
+ echo -e "\e[1;31m\u274C File compilation failed\e[0m"
26
failedFiles+=(file)
27
fi
28
done
0 commit comments