Files
holocron/scripts/deploy-manifest.sh

26 lines
834 B
Bash

#!/usr/bin/env bash
# Deployment manifest — sourced by install.sh and sync.sh (Chunk 6).
# All paths: src relative to REPO_ROOT, dest relative to HOME.
# Format: "src:dest"
# Individual files — copied verbatim
DEPLOY_FILES=(
"providers/claude-code/CLAUDE.md:.claude/CLAUDE.md"
"providers/claude-code/settings.json:.claude/settings.json"
)
# Files that also need the executable bit set
DEPLOY_EXECUTABLES=(
"providers/claude-code/statusline-command.sh:.claude/statusline-command.sh"
)
# Directories — destination is fully replaced on each deploy (rm -rf + cp -r)
DEPLOY_DIRS=(
"core:.claude/core"
)
# Skills — merged per-skill into canonical location (parent not wiped, user skills preserved)
DEPLOY_SKILLS_SRC=".agents/skills"
# Provider skill adapters are declared in providers/*/provider-manifest.sh, not here.