Add test case "CSS" version "1.0.0-beta.1"

This commit is contained in:
inference 2024-05-12 01:37:03 +00:00
parent aa9359f986
commit ea9ba497a2
Signed by: inference
SSH Key Fingerprint: SHA256:K/a677+eHm7chi3X4s77BIpLTE9Vge1tsv+jUL5gI+Y

31
test/css.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/zsh
# Inferencium - Website - Test - CSS
# Copyright 2024 Jake Winters
# Version: 1.0.0-beta.1
# SPDX-License-Identifier: BSD-3-Clause
# Location
root=".." # Website root directory
# Formatting
bold="\033[1m" # Bold
ok="\033[0;32;1mOK\033[0m" # Green + Bold
fail="\033[0;31;1mFAIL\033[0m" # Red + Bold
nof="\033[0m" # None
# Check for existence of CSS
echo "${bold}Checking for existence of CSS...${nof}"
echo ""
echo "${bold}Root${nof}"
if [ -f $root/main.css ]; then
echo "main.css ${ok}"
else
echo "main.css ${fail}"
fi