refactor: move helper scripts into .bin folder and update tasks.json

This commit is contained in:
yeti
2025-05-16 10:02:00 +01:00
parent a565ed4c33
commit 54baa71622
6 changed files with 3 additions and 8 deletions

9
.bin/create-home-tarball.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
if [ "$(basename "$(pwd -P)")" != "workspaces" ]; then
echo "Error: this script must be run from a directory named 'workspaces', not '$(basename "$(pwd -P)")'" >&2
exit 1
fi
tar -czf home.tar.gz --owner root --group secproc --xform "s,$PWD,/home/devuser," .config .local .ssh start.sh