diff --git a/build.rs b/build.rs index 31cfb72e..6fbdbe86 100644 --- a/build.rs +++ b/build.rs @@ -16,6 +16,9 @@ fn main() { let destination = Path::new(&out_dir).join("tests.rs"); let mut test_file = File::create(&destination).unwrap(); + // Re-generate the tests if any org-mode files change + println!("cargo:rerun-if-changed=org_mode_samples"); + write_header(&mut test_file); let test_files = WalkDir::new("org_mode_samples") diff --git a/org_mode_samples/greater_element/plain_list/alphabetical_bullets.org b/org_mode_samples/greater_element/plain_list/alphabetical_bullets.org new file mode 100644 index 00000000..f91ae6ab --- /dev/null +++ b/org_mode_samples/greater_element/plain_list/alphabetical_bullets.org @@ -0,0 +1,3 @@ +# These are only allowed by configuring org-list-allow-alphabetical which the automated tests are not currently set up to do, so this will parse as a paragraph: +a. foo +b. bar