I am learning to use shake to replace Makefile and wonder if shake
have bash-completion
support.
For example, a simple (do nothing) Makefile
all :
clean:
would show a tab completion target as
$ make <TAB>
all clean
but there is no target-completion
when using ./build <TAB>
complied from this build.hs
import Development.Shake
main :: IO ()
main = shakeArgs shakeOptions{shakeFiles="_build"} $ do
phony "all" $ return ()
phony "clean" $ do
putNormal "Cleaning files in _build"
removeFilesAfter "_build" ["//*"]
I am expect something similar to stack or Python's argcomplete