Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
chore: repo to work with local go.work file (#1073)
Browse files Browse the repository at this point in the history
* chore: add go.work files to gitignore

Signed-off-by: András Jáky <[email protected]>

* docs: extend contributing guide with using go.work

Signed-off-by: András Jáky <[email protected]>

---------

Signed-off-by: András Jáky <[email protected]>
  • Loading branch information
akijakya authored Jan 17, 2024
1 parent 880e300 commit 33c775e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ bin/
db.db
site/
dist
go.work*
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ possible, and, if possible, a test case.

## Development

### Development Environment

For the `gopls` language server to index the whole project, it is possible to create a local `go.work` file including the current go version used and the modules, followed by running `go mod tidy`, such as:

```text
go 1.21.4
use (
./api
./e2e
./
)
// maybe replaces if there are conflicts
```

### Building VMClarity Binaries

Makefile targets are provided to compile and build the VMClarity binaries.
Expand Down

0 comments on commit 33c775e

Please sign in to comment.