refactor(mk): fixed some typos

This commit is contained in:
2025-03-21 12:03:48 -04:00
parent 5d3c0d45ec
commit 1661328876

22
mk
View File

@@ -112,7 +112,7 @@ if ! command -v clang &> /dev/null && ! command -v gcc &> /dev/null; then
log "${YELLOW}[Info] Please install Clang or GCC and try again.${NC}"
exit 1
else
log "${MAGENTA}[Success] Clang or GCC is installed. Continuing...${NC}"
log "${MAGENTA}[Succsess] Clang or GCC is installed. Continuing...${NC}"
fi
# --- Check if MESON is installed ---
@@ -236,14 +236,14 @@ if ! command -v ninja &> /dev/null; then
log "${YELLOW}[Info] Please manually install Ninja and try again.${NC}"
exit 1
else
log "${GREEN}[Success] Ninja installed.${NC}"
log "${GREEN}[Succsess] Ninja installed.${NC}"
fi
else
log "${YELLOW}[Info] Please install Ninja and try again.${NC}"
exit 1
fi
else
log "${MAGENTA}[Success] Ninja is installed. Continuing...${NC}"
log "${MAGENTA}[Succsess] Ninja is installed. Continuing...${NC}"
fi
# --- Check if CMake is installed ---
@@ -302,11 +302,11 @@ if ! command -v cmake &> /dev/null; then
log "${YELLOW}[Info] Please manually install CMake and try again.${NC}"
exit 1
else
log "${GREEN}[Success] CMake installed.${NC}"
log "${GREEN}[Succsess] CMake installed.${NC}"
fi
fi
else
log "${MAGENTA}[Success] CMake is installed. Continuing...${NC}"
log "${MAGENTA}[Succsess] CMake is installed. Continuing...${NC}"
fi
# --- Build 4DSSE ---
@@ -335,7 +335,7 @@ else
exit 1
else
touch ./build-config/boost/.boost_installed
log "${GREEN}[Success] Boost check passed.${NC}"
log "${GREEN}[Succsess] Boost check passed.${NC}"
fi
fi
@@ -378,7 +378,7 @@ if [[ $doReconfigure -eq 1 ]]; then
meson setup "$buildDir" --buildtype=debug -Dbuild_tests=false
fi
fi
log "${GREEN}[Success] Build directory configured successfully.${NC}"
log "${GREEN}[Succsess] Build directory configured successfully.${NC}"
fi
log "${BLUE}[Info] Caching last build flags...${NC}"
@@ -394,7 +394,7 @@ if [[ $doReconfigure -eq 1 ]]; then
echo "testsFlag=0" >> $buildDir/.last_build_flags
fi
log "${GREEN}[Success] Last build flags cached.${NC}"
log "${GREEN}[Succsess] Last build flags cached.${NC}"
fi
log "${BLUE}[Info] Building 4DSSE...${NC}"
@@ -412,10 +412,10 @@ if [[ $runTestsFlag -eq 1 ]]; then
fi
if [[ $userFlag -eq 1 ]]; then
log "${GREEN}[Success] 4DSSE built and installed successfully.${NC}"
log "${GREEN}[Succsess] 4DSSE built and installed successfully.${NC}"
else
log "${GREEN}[Success] 4DSSE built successfully.${NC}"
log "${GREEN}[Succsess] 4DSSE built successfully.${NC}"
fi
log "${GREEN}[Success] 4DSSE mk script complete.${NC}"
log "${GREEN}[Succsess] 4DSSE mk script complete.${NC}"