mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-25 13:01:08 +00:00
snap: *Another* fix for building (#668)
This commit is contained in:
parent
b36e12b654
commit
e54fffccdf
1 changed files with 3 additions and 11 deletions
|
@ -31,10 +31,10 @@ parts:
|
|||
- pkg-config
|
||||
- libsqlite3-dev
|
||||
- gettext
|
||||
after:
|
||||
- cargo-web
|
||||
override-build: |
|
||||
export PATH=$PATH:$SNAPCRAFT_PROJECT_DIR/../.cargo/bin
|
||||
export PATH=$PATH:$HOME/.cargo/bin
|
||||
rustup install stable
|
||||
cargo +stable install cargo-web
|
||||
cargo web deploy -p plume-front --release
|
||||
cargo install --force --no-default-features --features sqlite --path . --root ${SNAPCRAFT_PART_INSTALL}
|
||||
cargo install --force --no-default-features --features sqlite --path plume-cli --root ${SNAPCRAFT_PART_INSTALL}
|
||||
|
@ -43,11 +43,3 @@ parts:
|
|||
stage-packages:
|
||||
- openssl
|
||||
- libsqlite3-0
|
||||
|
||||
cargo-web:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue