mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Use ffizz_header to generate taskchampion.h
This commit is contained in:
parent
989a330e46
commit
75e10676ce
20 changed files with 1881 additions and 1281 deletions
|
@ -13,9 +13,11 @@ fn build_bindings_tests(suites: &[&'static str]) {
|
|||
"UNITY_OUTPUT_CHAR_HEADER_DECLARATION",
|
||||
"test_output(char c)",
|
||||
);
|
||||
build.file("src/bindings_tests/unity/unity.c");
|
||||
|
||||
let mut files = vec!["src/bindings_tests/test.c".to_string()];
|
||||
let mut files = vec![
|
||||
"src/bindings_tests/test.c".into(),
|
||||
"src/bindings_tests/unity/unity.c".into(),
|
||||
];
|
||||
for suite in suites {
|
||||
files.push(format!("src/bindings_tests/{}.c", suite));
|
||||
}
|
||||
|
@ -23,6 +25,7 @@ fn build_bindings_tests(suites: &[&'static str]) {
|
|||
build.file(&file);
|
||||
println!("cargo:rerun-if-changed={}", file);
|
||||
}
|
||||
println!("cargo:rerun-if-changed=../lib/taskchampion.h");
|
||||
|
||||
build.compile("bindings-tests");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue