Skip to content

Commit

Permalink
update bicep generator code to use bicep-types
Browse files Browse the repository at this point in the history
Signed-off-by: sk593 <shruthikumar@microsoft.com>
  • Loading branch information
sk593 committed Apr 25, 2024
1 parent ac367ee commit a57c0db
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 282 deletions.
4 changes: 3 additions & 1 deletion build/generate.mk
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ generate-go: generate-mockgen-installed ## Generates go with 'go generate' (Mock
generate-bicep-types: generate-node-installed ## Generate Bicep extensibility types
@echo "$(ARROW) Generating Bicep extensibility types from OpenAPI specs..."
@echo "$(ARROW) Build autorest.bicep..."
cd hack/bicep-types-radius/src/autorest.bicep; \
cd bicep-types/src/bicep-types; \
npm ci && npm run build; \
cd ../../../hack/bicep-types-radius/src/autorest.bicep; \
npm ci && npm run build; \
cd ../generator; \
echo "Run generator from hack/bicep-types-radius/src/generator dir"; \
Expand Down
Loading

0 comments on commit a57c0db

Please sign in to comment.