about summary refs log tree commit diff stats
path: root/config.sh
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-07-28 07:04:55 -0400
committerCharadon <dev@iotib.net>2022-07-28 07:04:55 -0400
commit31e93d820bb2a4f875e50c73e605e910a1778eb7 (patch)
tree3f80707bec1277ace2e3764cf5837bcce66b7f75 /config.sh
parent5ab17c998ef890ce0fe85e1e523a1b62dcb1bef5 (diff)
downloaddscip-31e93d820bb2a4f875e50c73e605e910a1778eb7.tar.gz
Added a failure check
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.sh b/config.sh
index 8d19ad6..342ff83 100755
--- a/config.sh
+++ b/config.sh
@@ -17,8 +17,10 @@ export WORKING_DIRECTORY
 export DSCIP_PRE_CMD="$WORKING_DIRECTORY/pre.sh"
 # Commands to run to build program. #
 export DSCIP_BUILD_CMD="$WORKING_DIRECTORY/build.sh"
-# Commands to run after building is done. #
+# Commands to run after building has succeeded. #
 export DSCIP_POST_CMD="$WORKING_DIRECTORY/post.sh"
+# Commands to run after building has failed.
+export DSCIP_FAILED_CMD="$WORKING_DIRECTORY/failed.sh"
 # Daemon mode options #
 export DSCIP_DAEMON="false" # If daemon mode should be enabled or not. #
 export DSCIP_DAEMON_FORK="true" # If the daemon should run in the background. #