cordle/build.sh

15 lines
319 B
Bash
Raw Normal View History

2025-12-17 10:44:22 +00:00
#!/usr/bin/env zsh
2025-12-17 17:09:38 +00:00
mkdir -p build/cordle
echo "Building application."
gcc -std=c90 -o build/cordle/cordle src/*.c -Iinclude -lncurses
export RESULT=$?
# shellcheck disable=SC1073
if (( RESULT == 0 )); then
echo "Compile successful. Copying wordlists..."
cp -R wordlists build/cordle
echo "Build completed."
fi