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:
parent
acd76e8031
commit
a3771f1d16
|
@ -1,5 +1,7 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"programs/*",
|
"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/"
|
"cli/"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue