~ chicken-core (chicken-5) f092c5cc27fb7104f788f685f4f31c32f9988127
commit f092c5cc27fb7104f788f685f4f31c32f9988127 Author: Peter Bex <peter@more-magic.net> AuthorDate: Sat Sep 14 20:38:41 2024 +0200 Commit: Peter Bex <peter@more-magic.net> CommitDate: Sat Sep 14 20:40:55 2024 +0200 Don't list types-file as a target when types are predefined This would cause the types file to be deleted by chicken-do when the build fails, as it is seen as a generated file (in which case it would be correct). diff --git a/egg-compile.scm b/egg-compile.scm index f7306d39..ff8f3ecf 100644 --- a/egg-compile.scm +++ b/egg-compile.scm @@ -705,7 +705,8 @@ modules)) (targets (append (list out) (maybe inline-file ifile) - (maybe types-file tfile) + (maybe (and types-file + (not predefined-types)) tfile) imps))) (add-dependency-target name out) (when customTrap