aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-03 19:30:29 +0200
committerDanilo M. <danix@danix.xyz>2026-04-03 19:30:29 +0200
commite921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24 (patch)
treeb0296219e4a257f5ba5a48ebcf8ab449b0e21e9b /CLAUDE.md
parent4c8d250f644314c55b1f34d411a61ffd1f70e86f (diff)
downloadmy-slackbuilds-e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24.tar.gz
my-slackbuilds-e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24.zip
repo: document symlink removal before staging; remove committed symlink
sbodl creates symlinks to downloaded source archives that must never be committed to git. Added the `find . -type l -delete` step to both CLAUDE.md and AGENTS.md, and removed the previously committed symlink. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index e98c934..43a446d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -140,7 +140,12 @@ cd <package-name> && sbopkglint
# 6. Add an entry for the package in the repo-level nvchecker.toml
-# 7. Commit (pre-commit hook runs sbolint automatically)
+# 7. Remove symlinks created by sbodl before staging
+# sbodl creates symlinks in the package directory pointing to downloaded sources.
+# These must never be committed to git.
+find . -type l -delete
+
+# 8. Commit (pre-commit hook runs sbolint automatically)
git add <package-name>/ nvchecker.toml
git commit -m'<package-name>: add version X.Y.Z'
```