14 lines
291 B
Bash
Executable File
14 lines
291 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
mkdir -p build/cordle
|
|
|
|
echo "Building application."
|
|
gcc -std=c90 -o build/cordle/cordle src/*.c -Iinclude -lncurses
|
|
export RESULT=$?
|
|
|
|
if (( RESULT == 0 )); then
|
|
echo "Compile successful. Copying wordlists..."
|
|
cp -R wordlists build/cordle
|
|
echo "Build completed."
|
|
fi
|