1{-# OPTIONS_GHC -Wall #-}
15import Control.Monad.Trans (liftIO)
16import qualified System.Directory as Dir
17import System.FilePath ((</>), (<.>))
19import qualified Elm.ModuleName as ModuleName
20import qualified Elm.Version as V
21import qualified Reporting.Task as Task
30 "elm-stuff" </> V.toChars V.compiler
40 stuff </> "summary.dat"
43prepublishDir :: FilePath
45 stuff </> "prepublish"
52removeStuff :: FilePath -> Task.Task_ e ()
55 do let dir = root </> "elm-stuff"
56 exists <- Dir.doesDirectoryExist dir
58 then Dir.removeDirectoryRecursive dir
66elmi :: FilePath -> ModuleName.Raw -> FilePath
68 toArtifactPath root name "elmi"
71elmo :: FilePath -> ModuleName.Raw -> FilePath
73 toArtifactPath root name "elmo"
76moduleDocs :: FilePath -> ModuleName.Raw -> FilePath
78 toArtifactPath root name "json"
81toArtifactPath :: FilePath -> ModuleName.Raw -> String -> FilePath
82toArtifactPath root name ext =
83 root </> stuff </> ModuleName.nameToHyphenPath name <.> ext
90temp :: String -> FilePath
92 stuff </> "temp" <.> ext
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