From 20a9fa7da4bbe569658df4c5ba5b0877cc513263 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Fri, 9 Oct 2026 08:07:18 +0200 Subject: Add bootstrap file for workspaces --- bootstrap.sh | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100755 bootstrap.sh (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..e54d75c --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +echo "Initializing repo" + +PKGS=(m4 make git) +echo "Waiting for required commands: ${PKGS[*]}" +for cmd in "${PKGS[@]}"; do + until command -v "$cmd" >/dev/null 2>&1; do + echo " $cmd not yet available, waiting..." + sleep 5 + done +done +echo "All required commands available." + +mkdir -p "$HOME/.config/coderv2/dotfiles" + +cat > "$HOME/.config/coderv2/dotfiles/config" < Makefile +make -- cgit v1.2.3