Skip to content

Commit

Permalink
Add feature to embed pictrs in lemmy binary (fixes #2627) (#2633)
Browse files Browse the repository at this point in the history
* Add feature to embed pictrs in lemmy binary (fixes #2627)

* Add pictrs config

* add protobuf

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
  • Loading branch information
Nutomic and dessalines authored Jan 20, 2023
1 parent 6eb5ed3 commit 1eaf2c8
Show file tree
Hide file tree
Showing 8 changed files with 842 additions and 29 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ api_tests
ansible
tests
*.sh
pictrs
2 changes: 2 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ steps:
environment:
CARGO_HOME: .cargo
commands:
- apt-get update
- apt-get install -y --no-install-recommends protobuf-compiler libprotobuf-dev
- rustup component add clippy
- cargo clippy --workspace --tests --all-targets --all-features --
-D warnings -D deprecated -D clippy::perf -D clippy::complexity
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ query_testing/**/reports/*.json

# API tests
api_tests/node_modules

# pictrs data
pictrs/
Loading

0 comments on commit 1eaf2c8

Please sign in to comment.