1module Build.Utils where
3import System.FilePath ((</>), replaceExtension)
4import qualified Build.Flags as Flag
6buildPath :: Flag.Flags -> FilePath -> String -> FilePath
7buildPath flags filePath ext =
8 Flag.build_dir flags </> replaceExtension filePath ext
10cachePath :: Flag.Flags -> FilePath -> String -> FilePath
11cachePath flags filePath ext =
12 Flag.cache_dir flags </> replaceExtension filePath ext
14elmo :: Flag.Flags -> FilePath -> FilePath
16 cachePath flags filePath "elmo"
18elmi :: Flag.Flags -> FilePath -> FilePath
20 cachePath flags filePath "elmi"
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