mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-21 07:17:25 +03:00
Add -y when calling into racket
This makes the racket compiler check for new versions of modules it already compiled. Should avoid some confusing errors when developing the racket libs.
This commit is contained in:
parent
8a88523f63
commit
490e23856f
@ -2651,7 +2651,7 @@ ensureSchemeExists =
|
||||
(ExitFailure _, _, _) -> pure False
|
||||
|
||||
racketOpts :: FilePath -> FilePath -> [String] -> [String]
|
||||
racketOpts gendir statdir args = libs ++ args
|
||||
racketOpts gendir statdir args = "-y" : libs ++ args
|
||||
where
|
||||
includes = [gendir, statdir </> "racket"]
|
||||
libs = concatMap (\dir -> ["-S", dir]) includes
|
||||
|
Loading…
Reference in New Issue
Block a user