Commit 9b8c2b88 authored by Juan C's avatar Juan C

Add logging to execution script

parent 426df5e8
......@@ -4,6 +4,11 @@ set -euxo pipefail
FOUNDRY_PROFILE=kontrol
# Create a log file to store standard out and standard error
LOG_FILE="run-kontrol-$(date +'%Y-%m-%d-%H-%M-%S').log"
exec > >(tee -i $LOG_FILE)
exec 2>&1
kontrol_build() {
kontrol build \
--verbose \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment