Type-safe access to filepath manipulations

root / Makefile

1
2
3
4
5
6
7
8
9
10
11
run-test:	update-test
	runhaskell Setup configure --user --enable-tests
	runhaskell Setup build
	runhaskell Setup haddock
	runhaskell Setup test --show-details=streaming

update-test:
	doctest-extract-0.1 -i src -o test --import-tested --module-prefix Test.Posix System.Path.Internal
	perl -i -p -e "s:import System\.Path\.Internal:import qualified System.Path.Posix as Default:" test/Test/Posix/System/Path/Internal.hs
	doctest-extract-0.1 -i src -o test --import-tested --module-prefix Test.Windows System.Path.Internal
	perl -i -p -e "s:import System\.Path\.Internal:import qualified System.Path.Windows as Default:" test/Test/Windows/System/Path/Internal.hs