forked from mrjosh/helm-ls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fork-master: (35 commits) Build only linux amd64 Support list of glob patterns feat: support values lookup for range on mapping (mrjosh#86) feat(symbol-table): read in template context with variables (mrjosh#85) fix: prevent panic on empty or unsupported template context (mrjosh#83) feat: use helm as a libary instead of copying code (mrjosh#77) feat: completion for unfinished_selector_expression fix: update ts grammar feat(completion): tests and refactoring feat(hover): template context hover usecase feat: references for templateContext feat: add references feat(reference): symbol-tables provides definition references feat(symboltable): add symboltable feat(docs): add coc config and reword readme build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 fix(handler): remove all unimplemented panics (mrjosh#73) fix(hover): format numbers correctly fix(hover): format list as yaml fix(go-to-definition): support range values ...
- Loading branch information
Showing
165 changed files
with
12,586 additions
and
13,053 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/bin | ||
/dist | ||
__debug_bin* | ||
.vscode | ||
.coverage |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "testdata/charts"] | ||
path = testdata/charts | ||
url = https://github.com/qvalentin/charts.git |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
with-expecter: true | ||
packages: | ||
go.lsp.dev/protocol: | ||
# place your package-specific config here | ||
config: | ||
interfaces: | ||
# select the interfaces you want mocked | ||
Client: | ||
# Modify package-level config for this specific interface (if applicable) | ||
config: |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ export BIN=$(ROOT)/bin | |
export GOBIN?=$(BIN) | ||
export GO=$(shell which go) | ||
export PACKAGE_NAME=github.com/mrjosh/helm-ls | ||
export GOLANG_CROSS_VERSION=v1.20.6 | ||
export GOLANG_CROSS_VERSION=v1.21.5 | ||
export CGO_ENABLED=1 | ||
|
||
$(eval GIT_COMMIT=$(shell git rev-parse --short HEAD)) | ||
$(eval BRANCH_NAME=$(shell git symbolic-ref -q --short HEAD || git describe --tags --exact-match)) | ||
|
@@ -54,8 +55,20 @@ install-metalinter: | |
@$(GO) get -v github.com/golangci/golangci-lint/cmd/[email protected] | ||
@$(GO) install -v github.com/golangci/golangci-lint/cmd/[email protected] | ||
|
||
install-yamlls: | ||
npm install --global yaml-language-server | ||
|
||
integration-test-deps: | ||
@YAMLLS_BIN=$$(command -v yaml-language-server) || { echo "yaml-language-server command not found! Installing..." && $(MAKE) install-yamlls; }; | ||
git submodule init | ||
git submodule update --depth 1 | ||
|
||
test: | ||
@$(GO) test ./... -v -race | ||
$(MAKE) integration-test-deps | ||
@$(GO) test ./... -v -race -tags=integration | ||
|
||
coverage: | ||
@$(GO) test -coverprofile=.coverage -tags=integration -coverpkg=./internal/... ./internal/... && go tool cover -html=.coverage | ||
|
||
.PHONY: build-release | ||
build-release: | ||
|
This file contains 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
This file contains 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
Oops, something went wrong.