v0.1.3 로컬 고스트 개발 환경 구성
This commit is contained in:
25
scripts/sync-theme.sh
Executable file
25
scripts/sync-theme.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
ROOT_DIR="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
|
||||
TARGET_DIR="$ROOT_DIR/.docker/theme/ghost-theme-thred-clone"
|
||||
|
||||
mkdir -p "$TARGET_DIR"
|
||||
|
||||
rsync -a --delete \
|
||||
--exclude='.git/' \
|
||||
--exclude='.cursor/' \
|
||||
--exclude='.vscode/' \
|
||||
--exclude='.docker/' \
|
||||
--exclude='docs/' \
|
||||
--exclude='local-ghost/' \
|
||||
--exclude='theme-export/' \
|
||||
--exclude='scripts/' \
|
||||
--exclude='*.zip' \
|
||||
--exclude='AGENTS.md' \
|
||||
--exclude='.DS_Store' \
|
||||
--exclude='.gitignore' \
|
||||
"$ROOT_DIR/" "$TARGET_DIR/"
|
||||
|
||||
printf 'Synced theme files to %s\n' "$TARGET_DIR"
|
||||
Reference in New Issue
Block a user