Skip to content

Change privacy-pools example to have one Makefile#403

Merged
leighmcculloch merged 1 commit intomainfrom
simplify-makefile-structure
Mar 6, 2026
Merged

Change privacy-pools example to have one Makefile#403
leighmcculloch merged 1 commit intomainfrom
simplify-makefile-structure

Conversation

@leighmcculloch
Copy link
Copy Markdown
Member

@leighmcculloch leighmcculloch commented Mar 5, 2026

What

Delete contract/Makefile and inline its build, test, fmt, and clean commands directly into the top-level privacy-pools/Makefile.

Why

The layout makefiles don't work very well with the testing that we run from the Soroban SDK and Stellar CLI repos. While it would be possible to make it work, it's simpler to make the privacy-pools example structure the same as the other examples in this repository.

Overall, it makes it easier for me to maintain testing with Soroban examples.

This should fix a build failure that is showing up in the stellar-cli soroban-examples builds that are being added in:

@leighmcculloch leighmcculloch marked this pull request as ready for review March 5, 2026 05:10
Copilot AI review requested due to automatic review settings March 5, 2026 05:10
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 simplifies the privacy-pools example build/test workflow by removing the nested contract/Makefile and consolidating its targets into a single top-level privacy-pools/Makefile, aligning it with other examples and improving compatibility with external test runners.

Changes:

  • Delete privacy-pools/contract/Makefile.
  • Inline contract build, test, fmt, and clean targets into privacy-pools/Makefile.
  • Add an explicit build dependency for test, and invoke groth16_verifier build from the top-level Makefile.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
privacy-pools/contract/Makefile Removed nested Makefile to centralize workflows at the example root.
privacy-pools/Makefile Inlines contract build/test/fmt/clean commands and triggers groth16_verifier build.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread privacy-pools/Makefile
@leighmcculloch leighmcculloch merged commit 9f46378 into main Mar 6, 2026
135 checks passed
@leighmcculloch leighmcculloch deleted the simplify-makefile-structure branch March 6, 2026 00:35
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