forked from faylang/fay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetup.hs
More file actions
35 lines (30 loc) · 1.77 KB
/
Copy pathSetup.hs
File metadata and controls
35 lines (30 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE NoImplicitPrelude #-}
module Main where
import "base" Prelude
import Distribution.PackageDescription
import Distribution.Simple
main = do
defaultMainWithHooks simpleUserHooks
{ preConf = \_args _flags -> do putStrLn reminder
return emptyHookedBuildInfo
, postInst = (\_ _ _ _ -> putStrLn fayBaseReminder)
}
reminder =
" \n\
\- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\
\ \n\
\ REMEMBER: This compiler is in flux, supercalifragelistic style. You should \n\
\ read the CHANGELOG for this release as the changes probably \n\
\ affect you. \n\
\ \n\
\ \n\
\ \n\
\- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n"
fayBaseReminder =
" \n\
\- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\
\ \n\
\ You also need to install fay-base! \n\
\ \n\
\- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n"