diff options
| author | pml68 <contact@pml68.dev> | 2025-04-20 01:05:14 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-20 01:05:14 +0200 |
| commit | cf446c5310f08350e1d7cc68390cb89598dbcf5a (patch) | |
| tree | d22b924daa4ec92b9104071bcaf16124f897f886 /build.rs | |
| parent | feat(material_theme): implement `pane_grid::Catalog` (diff) | |
| download | iced-builder-cf446c5310f08350e1d7cc68390cb89598dbcf5a.tar.gz | |
fix: ordering in `build.rs`
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -5,6 +5,17 @@ use std::path::Path; use std::process::Command; fn main() { + println!("cargo::rerun-if-changed=fonts/icons.toml"); + iced_fontello::build("fonts/icons.toml").expect("Build icons font"); + #[cfg(windows)] + { + embed_resource::compile( + "assets/windows/iced_builder.rc", + embed_resource::NONE, + ); + windows_exe_info::versioninfo::link_cargo_env(); + } + let git_hash = Command::new("git") .args(["describe", "--always", "--dirty", "--exclude='*'"]) .output() @@ -48,15 +59,4 @@ fn main() { if head_ref.exists() { println!("cargo:rerun-if-changed={}", head_ref.display()); } - - println!("cargo::rerun-if-changed=fonts/icons.toml"); - iced_fontello::build("fonts/icons.toml").expect("Build icons font"); - #[cfg(windows)] - { - embed_resource::compile( - "assets/windows/iced_builder.rc", - embed_resource::NONE, - ); - windows_exe_info::versioninfo::link_cargo_env(); - } } |
