Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0a242f4a34
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.597 kb
#!/usr/bin/env runhaskell
import Distribution.PackageDescription
import Distribution.Simple
import Distribution.Simple.LocalBuildInfo
import Distribution.Simple.Setup
import System.Directory
import AutoAST
main :: IO ()
main = defaultMainWithHooks simpleUserHooks { postConf = generate, postClean = clean }
generate :: Args -> ConfigFlags -> PackageDescription -> LocalBuildInfo -> IO ()
generate _ _ _ _ = do
writeFile "Language/SMTLIB/Version12.hs" version12
clean :: Args -> CleanFlags -> PackageDescription -> () -> IO ()
clean _ _ _ () = do
removeFile "Language/SMTLIB/Version12.hs"
Jump to Line
Something went wrong with that request. Please try again.