Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
van-sprundel authored Sep 16, 2024
1 parent c66fd93 commit f631ce6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[package]
name = "ferrisume-cli"
description = "A JSON resume CLI tool"
version = "0.2.0"
version = "0.2.1"
license = "MIT"
repository = "https://github.com/yourusername/ferrisume"
edition = "2021"
keywords = ["cli", "json", "resume"]
categories = ["visualization", "value-formatting"]

include = ["themes/default/**"]

[dependencies]
clap = { version = "4.5.12" }
log = "0.4.22"
Expand All @@ -18,7 +20,6 @@ tiny_http = "0.12.0"
notify = "6.1.1"
ws = "0.9.2"
handlebars = "6.0.0"
wkhtmltopdf = "0.4.0"
anyhow = "1.0"
thiserror = "1.0"
toml = "0.8.15"
Expand Down
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ fn main() {
let dest_path = out_dir.join("theme");

// Copy default theme files
let theme_dir = PathBuf::from("themes/default");
let manifest_dir = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
let theme_dir = manifest_dir.join("themes/default");
copy_dir_all(theme_dir, &dest_path).unwrap();

println!("cargo:rerun-if-changed=themes/default");
Expand Down

0 comments on commit f631ce6

Please sign in to comment.