Skip to content

Commit

Permalink
Release v0.0.8 (fix cargo publish issues) (Nheko-Reborn#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulyssa committed Jul 8, 2023
1 parent ca4c003 commit 89bb107
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ fn main() -> Result<(), Box<dyn Error>> {
let iamb_1 = convert(IAMB_1_MD, "IAMB", 1);
let iamb_5 = convert(IAMB_5_MD, "IAMB", 5);

fs::write(PathBuf::from_iter(["docs", "iamb.1"]), iamb_1.as_bytes())?;
fs::write(PathBuf::from_iter(["docs", "iamb.5"]), iamb_5.as_bytes())?;
let out_dir = std::env::var("OUT_DIR");
let out_dir = out_dir.as_deref().unwrap_or("docs");

fs::write(PathBuf::from_iter([out_dir, "iamb.1"]), iamb_1.as_bytes())?;
fs::write(PathBuf::from_iter([out_dir, "iamb.5"]), iamb_5.as_bytes())?;

Ok(())
}

0 comments on commit 89bb107

Please sign in to comment.