Update CheckMainFile.yml
This commit is contained in:
5
.github/workflows/CheckMainFile.yml
vendored
5
.github/workflows/CheckMainFile.yml
vendored
@@ -10,8 +10,9 @@ jobs:
|
|||||||
cat ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js > CookieMonsterTest.js
|
cat ./src/Header.js ./src/Cache.js ./src/Config.js ./src/Data.js ./src/Disp.js ./src/Main.js ./src/Sim.js ./src/Footer.js > CookieMonsterTest.js
|
||||||
if [ -n "$(cmp CookieMonster.js CookieMonsterTest.js)" ]
|
if [ -n "$(cmp CookieMonster.js CookieMonsterTest.js)" ]
|
||||||
then
|
then
|
||||||
|
echo '### SUCCESS: CookieMonster is correctly built! ###'
|
||||||
|
|
||||||
|
else
|
||||||
echo '### WARNING: CookieMonster.js does not seem to be correct. Have you compiled the source files into the final file using either of the combine files? ###' &
|
echo '### WARNING: CookieMonster.js does not seem to be correct. Have you compiled the source files into the final file using either of the combine files? ###' &
|
||||||
exit 1
|
exit 1
|
||||||
else
|
|
||||||
echo '### SUCCESS: CookieMonster is correctly built! ###'
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user