2021-11-29 20:48:45 +00:00
|
|
|
default: lint build
|
|
|
|
|
|
|
|
build: node_modules
|
|
|
|
node ci/build.mjs
|
|
|
|
|
|
|
|
lint: node_modules
|
|
|
|
./node_modules/.bin/eslint \
|
|
|
|
--ext .js,.vue \
|
|
|
|
--fix \
|
|
|
|
src
|
|
|
|
|
|
|
|
node_modules:
|
|
|
|
npm ci
|
2021-12-01 02:38:52 +00:00
|
|
|
|
|
|
|
go_test:
|
|
|
|
go test -cover -v ./...
|
|
|
|
golangci-lint run
|
2021-12-01 16:58:24 +00:00
|
|
|
|
2024-04-16 15:45:45 +00:00
|
|
|
helm_lint:
|
|
|
|
helm lint charts/latestver
|
|
|
|
|
2021-12-01 16:58:24 +00:00
|
|
|
# --- Documentation
|
|
|
|
|
|
|
|
gendoc: .venv
|
|
|
|
.venv/bin/python3 ci/gendoc.py $(shell grep -l '@module ' internal/fetcher/*.go) >docs/config.md
|
|
|
|
git add docs/config.md
|
|
|
|
|
|
|
|
.venv:
|
|
|
|
python -m venv .venv
|
|
|
|
.venv/bin/pip install -r ci/requirements.txt
|