Files
wehub-resource-sync 6c9c7fe7f3
CI / integration tests (3.13) (push) Failing after 1s
Commit lint / pull request title (push) Has been skipped
Docs / links (push) Failing after 1s
CI / unit tests (3.13) (push) Failing after 1s
CI / lint (push) Failing after 1s
CI / integration tests (push) Failing after 1s
CI / package build (push) Failing after 1s
Commit lint / commit messages (push) Failing after 1s
CI / unit tests (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:24:24 +08:00

22 lines
576 B
Bash
Executable File

#!/bin/bash
# Update local plugin installation with current source code
PLUGIN_NAME="evermem"
SOURCE_DIR="$(cd "$(dirname "$0")" && pwd)"
DEST_DIR="$HOME/.claude/plugins/cache/${PLUGIN_NAME}/${PLUGIN_NAME}/0.1.0"
if [ ! -d "$DEST_DIR" ]; then
echo "Error: Plugin not installed at $DEST_DIR"
exit 1
fi
echo "Updating: $DEST_DIR"
cp -r "$SOURCE_DIR/hooks" "$DEST_DIR/"
cp -r "$SOURCE_DIR/mcp" "$DEST_DIR/" 2>/dev/null || true
cp -r "$SOURCE_DIR/skills" "$DEST_DIR/" 2>/dev/null || true
cp -r "$SOURCE_DIR/commands" "$DEST_DIR/" 2>/dev/null || true
echo "✅ Done"