File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,12 @@ tasks:
142
142
- easyjson arduino/cores/packageindex/index.go
143
143
- easyjson arduino/libraries/librariesindex/json.go
144
144
145
+ go:check-license-headers :
146
+ desc : Check go license headers
147
+ cmds :
148
+ - go install github.com/google/addlicense@v1.1.1
149
+ - addlicense -c "ARDUINO SA (http://www.arduino.cc/)" -f ./license_header.tpl *.go
150
+
145
151
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-markdown-task/Taskfile.yml
146
152
markdown:check-links :
147
153
desc : Check for broken links
@@ -309,6 +315,7 @@ tasks:
309
315
cmds :
310
316
- task : go:vet
311
317
- task : go:lint
318
+ - task : go:check-license-headers
312
319
- task : protoc:check
313
320
314
321
check-legacy :
You can’t perform that action at this time.
0 commit comments