We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc301ed commit bd3b425Copy full SHA for bd3b425
build.sh
@@ -2,6 +2,10 @@
2
3
# Set the build directory and run the release build
4
cargo build --release
5
+if [ $? -ne 0 ]; then
6
+ echo "Build failed!"
7
+ exit 1 # Exit with a non-zero code to indicate failure
8
+fi
9
10
# Get the executable path (replace 'your_project_name' with your actual project name)
11
executable_path="target/release/ndate"
@@ -18,3 +22,4 @@ if [ -f "$executable_path" ]; then
18
22
else
19
23
echo "Error: Executable not found at $executable_path"
20
24
fi
25
+sleep 2
0 commit comments