Skip to content

Commit

Permalink
Fmt and vet all modules
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Jan 13, 2024
1 parent 6c0ce6e commit c9badb5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ uninstall: ## Uninstall Flux
.PHONY: fmt
fmt: ## Format all CUE definitions
@cue fmt ./bundles/...
@cue fmt ./modules/flux-aio/...
@cue fmt ./modules/flux-git-sync/...
@cue fmt ./modules/flux-helm-release/...
@cue fmt ./modules/flux-tenant/...
@for dir in ./modules/* ; do
cue fmt $$dir/...
done

.PHONY: vet
vet: ## Vet modules
@for dir in ./modules/* ; do
echo "vetting $$dir"
timoni mod vet $$dir --debug
done

.PHONY: gen
gen: ## Print the CUE generated objects
Expand Down

0 comments on commit c9badb5

Please sign in to comment.