1{-# OPTIONS_GHC -Wall #-}
15import Control.Monad.Trans (liftIO)
16import qualified System.Directory as Dir
17import System.FilePath ((</>), (<.>))
19import qualified Elm.Compiler as Compiler
20import qualified Elm.Compiler.Module as Module
21import qualified Elm.Package as Pkg
22import qualified Reporting.Task as Task
31 "elm-stuff" </> Pkg.versionToString Compiler.version
41 stuff </> "solution.dat"
46 stuff </> "summary.dat"
49prepublishDir :: FilePath
51 stuff </> "prepublish"
58removeStuff :: FilePath -> Task.Task_ e ()
61 do let dir = root </> "elm-stuff"
62 exists <- Dir.doesDirectoryExist dir
64 then Dir.removeDirectoryRecursive dir
72elmi :: FilePath -> Module.Raw -> FilePath
74 toArtifactPath root name "elmi"
77elmo :: FilePath -> Module.Raw -> FilePath
79 toArtifactPath root name "elmo"
82toArtifactPath :: FilePath -> Module.Raw -> String -> FilePath
83toArtifactPath root name ext =
84 root </> stuff </> Module.nameToHyphenPath name <.> 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