Add everything.
Some checks failed
Build C++ Project with Fedora Container and Create Release / build (push) Has been cancelled
Some checks failed
Build C++ Project with Fedora Container and Create Release / build (push) Has been cancelled
This commit is contained in:
7
buildandrun.sh
Executable file
7
buildandrun.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e # Exit on any error
|
||||
|
||||
./build.sh || { echo "Build failed"; exit 1; }
|
||||
cd build || { echo "Cannot cd to build/"; exit 1; }
|
||||
./main || { echo "main failed"; exit 1; }
|
||||
cd .. || echo "Warning: failed to return to parent dir"
|
||||
Reference in New Issue
Block a user