• ijones's avatar
    added HUnit test/example · 57ecf3a3
    ijones authored
    ** added some parsing of build-dep, so we could get some kind of dependency to the package stuff.  see TODO item
    ** assertCmd to simplify testing
    ** added test case basically like this:
    make semiclean
    ./setup configure --prefix=",tmp"
    ./setup build
    ./setup install --user
    ghc -package-conf $HOME/.ghc-packages  -package HUnit-1.0 HUnitTester.hs -o ./hunitTest
    ghc-pkg --config-file=$HOME/.ghc-packages -r HUnit-1.0
    make clean
Package.hs 4.63 KB