reorg: no symlinks, just real files. This works on mac

This commit is contained in:
brutsalvadi
2026-05-01 14:51:05 +02:00
parent 6056d255a1
commit c416dbc226
21 changed files with 2 additions and 720 deletions
-15
View File
@@ -3,21 +3,6 @@
# Usage: scripts/dev.sh [--edit]
set -e
cd "$(dirname "$0")/.."
ROOT="$(pwd)"
# Ensure content directories and symlinks exist
mkdir -p pages stories
mkdir -p site/src/content/entries
LINK="$ROOT/site/src/content/entries/_wiki"
if [ ! -L "$LINK" ]; then
ln -sf "$ROOT/pages" "$LINK"
fi
BLOG_LINK="$ROOT/site/src/content/blog"
if [ ! -L "$BLOG_LINK" ]; then
ln -sf "$ROOT/stories" "$BLOG_LINK"
fi
# Start edit sidecar if requested
if [[ "$*" == *"--edit"* ]]; then