Skip to content

Commit

Permalink
added generate
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud committed May 21, 2024
1 parent e663e38 commit 2baefb0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ go.hcl2spec: install-packer-sdc
GOOS=$(OS_TYPE) go generate builder/anka/config.go
GOOS=$(OS_TYPE) go generate post-processor/ankaregistry/post-processor.go

#generate-docs: @ Generate packer docs
generate-docs: install-packer-sdc
@if [ -d ".docs" ]; then rm -r ".docs"; fi
@packer-sdc renderdocs -src "docs" -partials docs-partials/ -dst ".docs/"
@./.web-docs/scripts/compile-to-webdocs.sh "." ".docs" ".web-docs" "veertuinc"
@rm -r ".docs"
#generate: @ Generate
generate: install-packer-sdc
@go generate ./...
@rm -rf .docs
@packer-sdc renderdocs -src docs -partials docs-partials/ -dst .docs/
@./.web-docs/scripts/compile-to-webdocs.sh "." ".docs" ".web-docs" "<orgname>"
@rm -r ".docs"

0 comments on commit 2baefb0

Please sign in to comment.