Add hint about how to get "anchor publish" to work to Cargo.toml

Since anchor doesn't upload the full source tree but does not seem to
rewrite the list of workspace members, "anchor publish" fails on the
"cli" workspace member.
This commit is contained in:
Christian Kamm 2022-04-03 09:14:45 +02:00
parent acd76e8031
commit a3771f1d16
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
[workspace]
members = [
"programs/*",
# Drop everything below this line before running "anchor publish":
# Otherwise the build will fail since Anchor uploads only parts of the source tree.
"cli/"
]