cleanup project structur

This commit is contained in:
2025-09-09 22:51:47 +02:00
parent dfea112265
commit 4dd553224d
3 changed files with 40 additions and 151 deletions

View File

@@ -6,7 +6,7 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Binary bauen (still). Wenn go fehlt: überspringen
tmux run-shell "cd $CURRENT_DIR && GO111MODULE=on go mod tidy >/dev/null 2>&1 || true"
tmux run-shell "cd $CURRENT_DIR && GO111MODULE=on go build -ldflags='-s -w' -o bin.sysusage ./cmd/monitor >/dev/null 2>&1 || true"
tmux run-shell "cd $CURRENT_DIR && GO111MODULE=on go build -ldflags='-s -w' -o bin.sysusage . >/dev/null 2>&1 || true"
# tmux-Variable setzen: #{sysusage}
tmux set -g @sysusage_cmd "$CURRENT_DIR/bin.sysusage"