diff --git a/index/wi/wisitoken/wisitoken-4.2.0.toml b/index/wi/wisitoken/wisitoken-4.2.0.toml index 118cbcf19..266d8517e 100644 --- a/index/wi/wisitoken/wisitoken-4.2.0.toml +++ b/index/wi/wisitoken/wisitoken-4.2.0.toml @@ -15,11 +15,10 @@ project-files = ["build/wisitoken_alire.gpr", "build/wisitoken_alire_mains.gpr"] # We use ".exe" extension even on non-Windows, to simplify the makefiles. executables = ["wisitoken-bnf-generate.exe"] -[[actions]] -# FIXME: it's not clear how to make this Windows-only. -type = "pre-build" +[[actions.'case(os)'.windows]] +type = "post-fetch" command = ["dos2unix", "memory/s-memory.adb"] - + [[depends-on]] # While wisitoken-bnf-generate can output a Tree-Sitter grammar file, # it does not use any tree-sitter code, so we have no dependency on @@ -35,6 +34,6 @@ gnat = "(>=11 & <2000) | >=2021" [origin] -commit = "0204c44b70d9dfe249e105fde5783a5be87a6692" +commit = "463d2cbfeac33bc04b714d1b07e8a0dec2ee688e" url = "git+https://git.savannah.nongnu.org/git/ada-mode.git"