Skip to content

Commit 866eb7e

Browse files
committed
fix task build
1 parent f41c2ce commit 866eb7e

File tree

5 files changed

+52
-2
lines changed

5 files changed

+52
-2
lines changed

.golangci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
version: "2"
2+
run:
3+
allow-parallel-runners: true
4+
linters:
5+
default: none
6+
enable:
7+
- copyloopvar
8+
- dupl
9+
- errcheck
10+
- ginkgolinter
11+
- goconst
12+
- gocyclo
13+
- govet
14+
- ineffassign
15+
- misspell
16+
- nakedret
17+
- prealloc
18+
- revive
19+
- staticcheck
20+
- unconvert
21+
- unparam
22+
- unused
23+
settings:
24+
revive:
25+
rules:
26+
- name: comment-spacings
27+
exclusions:
28+
generated: lax
29+
rules:
30+
- linters:
31+
- dupl
32+
path: internal/*
33+
paths:
34+
- third_party$
35+
- builtin$
36+
- examples$
37+
formatters:
38+
enable:
39+
- gofmt
40+
- goimports
41+
exclusions:
42+
generated: lax
43+
paths:
44+
- third_party$
45+
- builtin$
46+
- examples$

Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ includes:
99
NESTED_MODULES: ''
1010
API_DIRS: ''
1111
MANIFEST_OUT: ''
12-
CODE_DIRS: ''
12+
CODE_DIRS: '{{.ROOT_DIR}}/cmd/...'
1313
COMPONENTS: 'bootstrapper'
1414
REPO_URL: 'https://github.com/openmcp-project/bootstrapper'
1515
GENERATE_DOCS_INDEX: "true"
File renamed without changes.

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- Do not edit this file, as it is auto-generated!-->
2+
# Documentation Index
3+

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ module github.com/openmcp-project/bootstrapper
22

33
go 1.24.5
44

5+
require github.com/spf13/cobra v1.9.1
6+
57
require (
68
github.com/inconshreveable/mousetrap v1.1.0 // indirect
7-
github.com/spf13/cobra v1.9.1 // indirect
89
github.com/spf13/pflag v1.0.7 // indirect
910
)

0 commit comments

Comments
 (0)