blob: 03a19c8373057f2b2897e386f6b4dc7783606834 (
plain)
1
2
3
4
5
6
7
8
9
|
module Settings.Packages.RunGhc (runGhcPackageArgs) where
import Oracles.Setting
import Expression
runGhcPackageArgs :: Args
runGhcPackageArgs = package runGhc ? builder Ghc ? input "//Main.hs" ? do
version <- getSetting ProjectVersion
pure ["-cpp", "-DVERSION=" ++ show version]
|