snap: Ensure cargo-web doesn't erroneously adopt our workspace. (#667)

This commit is contained in:
Christopher James Halse Rogers 2019-09-18 16:24:15 +02:00 committed by fdb-hiroshima
parent b5eecbf2e7
commit b36e12b654
1 changed files with 3 additions and 0 deletions

View File

@ -48,3 +48,6 @@ parts:
plugin: rust
source: https://github.com/koute/cargo-web.git
source-tag: 0.6.26
override-pull: |
printf "\n[Workspace]\n" >> ${SNAPCRAFT_PART_SRC}/Cargo.toml
snapcraftctl pull