A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sourcegraph/scip-go below:

sourcegraph/scip-go: SCIP indexer for Golang

SCIP indexer for Golang.

This will build and install the latest version of scip-go

go install github.com/sourcegraph/scip-go/cmd/scip-go@latest

You can confirm it's been installed by running:

From the root of your project, you can run:

If scip-go is unable to determine some project information, you may need to provide some command-line arguments.

scip-go --module-name=NAME --module-version=VERSION

If this doesn't solve the problem, check the rest of the available flags in:

The other build systems Buck/Bazel/Please/etc are supported via Go Packages Driver Protocol.

Usage:

GOPACKAGESDRIVER=your_driver scip-go

Note: Due to the current protocol design cross-repo navigation will not work.

(NOTE: Projects without a go.mod may experience challenges indexing. See next section for details)

Indexing without shelling to go binary

scip-go by default uses a few different go commands from the command line to gain information about the project and module. To avoid running go directly (perhaps you have some other build system), you will need to supply the following args.

scip-go --module-name="<my modules name here>"

NOTE: The rest of this isn't properly implemented yet. It's on the todo list for scip-go.

# Install scip-go
go install github.com/sourcegraph/scip-go/cmd/scip-go@latest

# Run scip-go
scip-go

# Upload index with any necessary tokens (shown here using GitHub workflow syntax)
src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress

To build a self-contained Docker container with the indexer, use the following command:

docker build -t scip-go:latest .

Contributors should follow the Sourcegraph Community Code of Conduct.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4