16 lines
217 B
Bash
Executable file
16 lines
217 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Build
|
|
echo "Compiling..."
|
|
g++ main.cpp implementations/*.cpp -I headers -o sic
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "Build failed."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Build successful."
|
|
|
|
# Run
|
|
echo "Running sic..."
|
|
./sic
|