Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running nargo compile within a workspace package does not use the workspace's target folder #7331

Closed
TomAFrench opened this issue Feb 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@TomAFrench
Copy link
Member

#2606 allows us to run a command on a single package within a workspace by running the nargo command from within that package. A bug which I've noticed with this is that we do not then use the workspace target directory.

See the below example for running nargo compile within crates/a/

.
├── crates
│   ├── a
│   │   ├── Nargo.toml
│   │   ├── Prover.toml
│   │   ├── src
│   │   │   └── main.nr
│   │   └── target <-- output is actually written here
│   └── b
│       ├── Nargo.toml
│       ├── Prover.toml
│       └── src
│           └── main.nr
├── Nargo.toml
└── target <-- output should be written here
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Feb 10, 2025
@TomAFrench TomAFrench added the bug Something isn't working label Feb 10, 2025
@asterite
Copy link
Collaborator

Duplicate of #7193 ?

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Feb 10, 2025
@TomAFrench
Copy link
Member Author

Yep, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants