10 lines
144 B
Bash
10 lines
144 B
Bash
#!/bin/bash
|
|
cmake --preset default
|
|
cd build
|
|
ninja
|
|
if [ $? -eq 0 ]; then
|
|
echo "Build successful!"
|
|
else
|
|
echo "Build failed!"
|
|
exit 1
|
|
fi |