This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env cabal | |
{- cabal: | |
build-depends: | |
base, | |
quickcheck-state-machine, | |
QuickCheck, | |
unliftio, | |
transformers, | |
tasty, | |
tasty-quickcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# This script requires difftastic and toml-cli, which can be installed by `cargo install` | |
pkg=$2 | |
version=$3 | |
what_to_do=$1 | |
if [ ! -d _sources/$pkg/$version ]; then | |
echo "Package $pkg and/or version $version doesn't exist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Build and then run the tests with a nicer output than `cabal test` | |
# | |
# Usage: `cabal-test $PKG` where $PKG is either | |
# - `all` | |
# - the name of a package | |
# - a sequence of names of packages | |
# | |
# For example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This has to be parametrized by the compiler version, the project path and the Cabal version | |
# that is being used. Also the relevant packages to the project will change. In this case I | |
# just created an empty dummy project to generate the instructions. | |
# Find ghci script | |
> stack exec -- which ghci | |
/usr/local/bin/ghci | |
# Find ghc script |