Skip to content

Commit

Permalink
Fix logo image on crates.io (#160)
Browse files Browse the repository at this point in the history
This moves the logo into the crate's own assets folder so that
crates.io (and GitHub) can find it and link to it.

It leaves the Hyperion image since that's referenced by absolute
URL rather than a path and moving it would break things that refer
to it in the current location.
  • Loading branch information
waywardmonkeys authored Jul 19, 2024
1 parent 1943da8 commit c0b27d3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ![Flecs](assets/flecs_rust_logo.png)
# ![Flecs](flecs_ecs/assets/flecs_rust_logo.png)

[![Generic badge](https://img.shields.io/badge/Flecs_Version-4.0.0-E56717.svg)](https://github.com/SanderMertens/flecs/releases)
[![License](https://badgen.net/pypi/license/pip/)](https://github.com/Indra-db/Flecs-Rust/blob/master/LICENSE)
Expand Down
2 changes: 2 additions & 0 deletions flecs_ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ description = "Rust API for the C/CPP flecs ECS library <https://github.com/Sand
keywords = ["ecs", "flecs", "ECS", "game-development", "gamedev"]
categories = ["game-development", "api-bindings", "simulation", "data-structures"]

exclude = ["assets/"]

[lints]
workspace = true

Expand Down
2 changes: 1 addition & 1 deletion flecs_ecs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ![Flecs](assets/flecs_rust_logo.png)
# ![Flecs](flecs_ecs/assets/flecs_rust_logo.png)

[![Generic badge](https://img.shields.io/badge/Flecs_Version-4.0.0-E56717.svg)](https://github.com/SanderMertens/flecs/releases)
[![License](https://badgen.net/pypi/license/pip/)](https://github.com/Indra-db/Flecs-Rust/blob/master/LICENSE)
Expand Down
File renamed without changes

0 comments on commit c0b27d3

Please sign in to comment.