fix(generate): move generated header files into the generate crate

This commit is contained in:
Amaan Qureshi 2024-10-04 00:47:30 -04:00
parent dfc891a5ce
commit 2047b22ae5
No known key found for this signature in database
GPG key ID: E67890ADC4227273
3 changed files with 2 additions and 2 deletions

View file

@ -39,8 +39,8 @@ struct GeneratedParser {
node_types_json: String,
}
pub const ALLOC_HEADER: &str = include_str!("../../src/templates/alloc.h");
pub const ARRAY_HEADER: &str = include_str!("../../src/templates/array.h");
pub const ALLOC_HEADER: &str = include_str!("templates/alloc.h");
pub const ARRAY_HEADER: &str = include_str!("templates/array.h");
pub fn generate_parser_in_directory(
repo_path: &Path,