Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ flamegraph.svg
.direnv
/result

# Cache files
*.ab.pr.c
*.ab.tk.c
116 changes: 109 additions & 7 deletions Cargo.lock

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

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ clap = { version = "4.5.20", features = ["derive"] }
clap_complete = "4.5.36"
colored = "2.0.0"
glob = "0.3"
heraclitus-compiler = "1.8.1"
heraclitus-compiler = { version = "1.8.1", features = ["serde"] }
home = "0.5.9"
include_dir = "0.7.4"
indicatif = "0.18.0"
insta = "1.43.1"
itertools = "0.13.0"
rmp-serde = "1.3.0"
serde = { version = "1.0.215", features = ["derive"] }
similar-string = "1.4.2"
test-generator = "0.3.1"
wildmatch = "2.4.0"
Expand Down
7 changes: 7 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
use std::process::Command;

fn main() {
// See [https://doc.rust-lang.org/cargo/reference/build-scripts.html].
build_helper::rerun_if_changed("src/tests");

let git_hash = Command::new("git").arg("rev-parse").arg("HEAD").output().unwrap();
let git_hash = String::from_utf8(git_hash.stdout).unwrap();

println!("cargo:rustc-env=GIT_HASH={git_hash}");
built::write_built_file().expect("Failed to acquire build-time information");
}
Loading
Loading