5import Distribution.PackageDescription
6import Distribution.Simple
7import Distribution.Simple.LocalBuildInfo
8import Distribution.Simple.Setup
10import System.Directory
11import System.Environment.XDG.BaseDir
12#if !defined(mingw32_HOST_OS) || !defined(__MINGW32__)
13import System.Posix.Files
17main = defaultMainWithHooks $ simpleUserHooks {postInst = setupXDG}
19setupXDG :: Args -> InstallFlags -> PackageDescription -> LocalBuildInfo -> IO ()
21 configDir <- getUserConfigDir "purescript"
22 createDirectoryIfMissing True configDir
23#if !defined(mingw32_HOST_OS) || !defined(__MINGW32__)
24 setFileMode configDir ownerModes
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list