importify
importify copied to clipboard
[IMRF-91] Use cpp-options from .cabal file
Now cpp-options are ignored. But they should respected even under flags like here:
https://github.com/takano-akio/filelock/blob/035dddfc934d49f156036b67fb5299ce737e2a95/filelock.cabal#L31 https://github.com/takano-akio/filelock/blob/035dddfc934d49f156036b67fb5299ce737e2a95/System/FileLock.hs#L39
This commit doesn't use cpp-options but it catches errors in cpphs like those from issue description:
https://github.com/serokell/importify/commit/27cc482278415af0914256152e58d988a2c993af