Closed gabebw closed 7 years ago
https://docs.travis-ci.com/user/languages/haskell/
And this uses Stack: https://github.com/jgm/pandoc/blob/master/.travis.yml
Commands to run as part of a test:
stack test
echo " 1 hello 3\n 1 hello 4\n 452 hi" | stack exec -- most-used-exe --shell zsh
2 hello\n1 hi
echo "hello\nhello | hi" | stack exec -- most-used-exe --shell bash
https://docs.travis-ci.com/user/languages/haskell/
And this uses Stack: https://github.com/jgm/pandoc/blob/master/.travis.yml
Commands to run as part of a test:
stack test
echo " 1 hello 3\n 1 hello 4\n 452 hi" | stack exec -- most-used-exe --shell zsh
should print2 hello\n1 hi
echo "hello\nhello | hi" | stack exec -- most-used-exe --shell bash
should print2 hello\n1 hi