You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to add workspace members to anchor.toml file since the smart contracts were in a different directory than the default programs directory. And i observed that when i mentioned the folder path in the workspace members with a *, the anchor.toml similar to what we have in cargo.toml, it was not able to understand it.
For eg:
[workspace]
members = [
"solana/my-programs/*"
]
The above didnt work.
But it works fine when the exact directory is mentioned like below.
[workspace]
members = [
"solana/my-programs/example-program"
]
Is there a particular reason why we dont allow all the * to include all the directories in a particular folder ?
If there isnt, I am happy to open a PR for the above fix.
The text was updated successfully, but these errors were encountered:
I was trying to add workspace members to anchor.toml file since the smart contracts were in a different directory than the default
programs
directory. And i observed that when i mentioned the folder path in the workspace members with a*
, theanchor.toml
similar to what we have in cargo.toml, it was not able to understand it.For eg:
The above didnt work.
But it works fine when the exact directory is mentioned like below.
Is there a particular reason why we dont allow all the
*
to include all the directories in a particular folder ?If there isnt, I am happy to open a PR for the above fix.
The text was updated successfully, but these errors were encountered: