2module Build.Utils where
4import System.FilePath ((</>), replaceExtension)
5import qualified Build.Flags as Flag
7buildPath :: Flag.Flags -> FilePath -> String -> FilePath
8buildPath flags filePath ext =
9 Flag.build_dir flags </> replaceExtension filePath ext
11cachePath :: Flag.Flags -> FilePath -> String -> FilePath
12cachePath flags filePath ext =
13 Flag.cache_dir flags </> replaceExtension filePath ext
15elmo :: Flag.Flags -> FilePath -> FilePath
17 cachePath flags filePath "elmo"
19elmi :: Flag.Flags -> FilePath -> FilePath
21 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