mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 22:32:19 +03:00
Need --script for incrementally compiled apps
Otherwise it doesn't load the compiled modules and can't find the compiled definitions!
This commit is contained in:
parent
3e92863e1c
commit
886962aa43
@ -85,7 +85,9 @@ findLibs ds
|
||||
|
||||
schHeader : String -> List String -> Bool -> String
|
||||
schHeader chez libs whole
|
||||
= (if os /= "windows" then "#!" ++ chez ++ " --program\n\n" else "") ++
|
||||
= (if os /= "windows"
|
||||
then "#!" ++ chez ++ (if whole then " --program\n\n" else " --script\n\n")
|
||||
else "") ++
|
||||
"; " ++ (generatedString "Chez") ++ "\n" ++
|
||||
"(import (chezscheme))\n" ++
|
||||
"(case (machine-type)\n" ++
|
||||
|
Loading…
Reference in New Issue
Block a user