- Add package-map.edn mapping namespaces to their packages - Update CI workflow to pass package-map when generating SCIP index - Enables cross-repo navigation to clojure-tui in Sourcegraph Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
|||||||
- name: Generate SCIP index
|
- name: Generate SCIP index
|
||||||
run: |
|
run: |
|
||||||
cd /tmp/scip-clojure
|
cd /tmp/scip-clojure
|
||||||
clojure -M:run -p $GITHUB_WORKSPACE -o $GITHUB_WORKSPACE/index.scip
|
clojure -M:run -p $GITHUB_WORKSPACE -o $GITHUB_WORKSPACE/index.scip -m $GITHUB_WORKSPACE/package-map.edn
|
||||||
env:
|
env:
|
||||||
CLOJURE_LSP_PATH: /usr/local/bin/clojure-lsp
|
CLOJURE_LSP_PATH: /usr/local/bin/clojure-lsp
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
;; Package map for cross-repository SCIP navigation
|
||||||
|
;; Maps namespace prefixes to package@version coordinates
|
||||||
|
;;
|
||||||
|
;; This enables Sourcegraph to resolve cross-repo references:
|
||||||
|
;; - "tui" prefix -> clojure-tui repository
|
||||||
|
;; - "lazygitclj" prefix -> this repository
|
||||||
|
|
||||||
|
{"tui" "io.github.ajet/clojure-tui@main"
|
||||||
|
"lazygitclj" "io.github.ajet/lazygitclj@main"}
|
||||||
Reference in New Issue
Block a user