Last active
December 5, 2020 07:14
-
-
Save robinp/a7a10db5b38630a9a0ffc805fc402500 to your computer and use it in GitHub Desktop.
Indexing Kythe Go parts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bazel build kythe/go/languageserver/... --experimental_action_listener kythe/go/extractors/cmd/bazel:extract_kzip_go | |
./bazel-bin/kythe/go/indexer/cmd/go_indexer/go_indexer $(find bazel-out/k8-fastbuild/extra_actions -name '*.go.kzip') > go.ents | |
./bazel-bin/kythe/go/serving/tools/write_tables/write_tables --experimental_beam_pipeline --entries go.ents --out /data/kythe/beamed | |
# To serve it: | |
# Note: public_resources set to /tmp since not needed when only API is used. | |
./bazel-bin/kythe/go/serving/tools/http_server/http_server --serving_table /data/kythe/beamed --listen 0.0.0.0:8080 --public_resources /tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since this was created the experimental action listener has been moved. I found that this worked instead of line 1: