Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| adb5dac1d2 | |||
| 2a58835f92 |
+8
-8
@@ -8,7 +8,7 @@ description: |
|
|||||||
* Media management: you can upload pictures to illustrate your articles, but also audio files if you host a podcast, and manage them all from Plume.
|
* Media management: you can upload pictures to illustrate your articles, but also audio files if you host a podcast, and manage them all from Plume.
|
||||||
* Federation: Plume is part of a network of interconnected websites called the Fediverse. Each of these websites (often called instances) have their own rules and thematics, but they can all communicate with each other.
|
* Federation: Plume is part of a network of interconnected websites called the Fediverse. Each of these websites (often called instances) have their own rules and thematics, but they can all communicate with each other.
|
||||||
* Collaborative writing: invite other people to your blogs, and write articles together.
|
* Collaborative writing: invite other people to your blogs, and write articles together.
|
||||||
grade: devel # must be 'stable' to release into candidate/stable channels
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
@@ -25,26 +25,26 @@ parts:
|
|||||||
plume:
|
plume:
|
||||||
plugin: rust
|
plugin: rust
|
||||||
source: .
|
source: .
|
||||||
rust-revision: nightly-2019-03-23
|
rust-revision: nightly-2020-01-15
|
||||||
build-packages:
|
build-packages:
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- pkg-config
|
- pkg-config
|
||||||
- libsqlite3-dev
|
- libsqlite3-dev
|
||||||
- gettext
|
- gettext
|
||||||
- on arm64,armhf,ppc64el,s390x:
|
- libclang-9-dev
|
||||||
- lld-8
|
- lld-9
|
||||||
override-build: |
|
override-build: |
|
||||||
snapcraftctl set-version $(git describe --tags)
|
snapcraftctl set-version $(git describe --tags)
|
||||||
export PATH=$PATH:$HOME/.cargo/bin
|
export PATH=$PATH:$HOME/.cargo/bin
|
||||||
rustup install stable
|
rustup install --force --profile=minimal stable
|
||||||
cargo +stable install --force cargo-web
|
cargo +stable install --force cargo-web
|
||||||
|
|
||||||
# Only Tier 1 Rust platforms get rust-lld
|
# Only Tier 1 Rust platforms get rust-lld
|
||||||
# On the others (arm64, armhf, powerpc64, s390x) fall back to using
|
# On the others (arm64, armhf, powerpc64, s390x) fall back to using
|
||||||
# the system LLD we've installed earlier.
|
# the system LLD we've installed earlier.
|
||||||
case ${SNAPCRAFT_ARCH_TRIPLE} in \
|
case ${SNAPCRAFT_ARCH_TRIPLET} in \
|
||||||
aarch64-linux-gnu|arm-linux-gnueabihf|powerpc64-linux-gnu|s390x-linux-gnu) \
|
aarch64-linux-gnu|arm-linux-gnueabihf|powerpc64le-linux-gnu|s390x-linux-gnu) \
|
||||||
RUSTFLAGS="-C linker=lld-8" cargo web deploy -p plume-front --release \
|
RUSTFLAGS="-C linker=lld-9" cargo web deploy -p plume-front --release \
|
||||||
;; \
|
;; \
|
||||||
*) \
|
*) \
|
||||||
cargo web deploy -p plume-front --release \
|
cargo web deploy -p plume-front --release \
|
||||||
|
|||||||
Reference in New Issue
Block a user