Skip to content

Enable incremental build for bicep extension#1533

Merged
andyleejordan merged 1 commit into
PowerShell:mainfrom
SteveL-MSFT:bicep-incremental-build
May 14, 2026
Merged

Enable incremental build for bicep extension#1533
andyleejordan merged 1 commit into
PowerShell:mainfrom
SteveL-MSFT:bicep-incremental-build

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

PR Summary

Update build.rs to only execute if there are changes to itself or the proto file

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the dsc-bicep-ext crate’s build.rs to enable incremental builds by ensuring the build script only reruns when its true inputs change (the build script itself or the .proto file).

Changes:

  • Added cargo:rerun-if-changed=build.rs to keep build-script changes triggering regeneration.
  • Added cargo:rerun-if-changed=proto/bicep.proto so protobuf codegen only reruns when the schema changes.

@andyleejordan andyleejordan added this pull request to the merge queue May 14, 2026
Merged via the queue into PowerShell:main with commit 4cb6706 May 14, 2026
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants