aboutsummaryrefslogtreecommitdiff
path: root/tests/Spec.hs
blob: 8665c61492ad231691ceb48433ec4a0f66da8f46 (plain) (blame)
1
2
3
4
5
6
7
8
import Distribution.Helper
import System.Environment
import Data.Maybe

main :: IO ()
main = do
  setEnv "HOME" =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR"
  writeAutogenFiles "./dist"