Skip to content

Commit

Permalink
move image constant data to main crate
Browse files Browse the repository at this point in the history
real 0.11.0 release
  • Loading branch information
kaikalii committed Jun 2, 2024
1 parent 38d315f commit cfa3038
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ site/dist
*.txt
*.db
!*/assets/*
!src/primitive/assets/*

*.ua
*.uasm
Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions src/primitive/defs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ constant!(
("Hair", "🦰🦱🦲🦳"),
/// The Uiua logo
#[cfg(feature = "image")]
("Logo", image_bytes_to_array(include_bytes!("../../site/assets/uiua-logo-512.png"), true).unwrap()),
("Logo", image_bytes_to_array(include_bytes!("assets/uiua-logo-512.png"), true).unwrap()),
/// Ethically sourced Lena picture
#[cfg(feature = "image")]
("Lena", image_bytes_to_array(include_bytes!("../../site/assets/lena.jpg"), false).unwrap()),
("Lena", image_bytes_to_array(include_bytes!("assets/lena.jpg"), false).unwrap()),
///
(
"⍼",
Expand Down

0 comments on commit cfa3038

Please sign in to comment.