snap: Ensure cargo-web doesn't erroneously adopt our workspace.
#667
Sammanfogat
RAOF
sammanfogade 1 incheckningar från fix-snapcraft-build
in i master
5 år sedan
Laddar…
Referens i nytt ärende
Det finns inget innehåll än.
Ta bort branch 'fix-snapcraft-build'
Borttagning utav en branch är permanent. Detta KAN INTE ångras. Vill du fortsätta?
Because snapcraft pulls the source into a subdirectory of Plume's source, and
Cargo will implicitly and recursively search parent directories for a [Workspace],
Cargo believes that cargo-web should be in Plume's workspace.
However, Cargo then errors out because Plume's [Workspace] stanza (entirely correctly)
doens't mention cargo-web.
Adding an empty [Workspace] stanza to cargo-web's Cargo.toml disables Cargo's implicit
search for a workspace to adopt, and avoids this problem.
👍
(ci error is about uploading to plume-ci for live testing, not required here)
Granskare
b36e12b654
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Forgejo.