Improve online docs for `includes:` field
[cabal.git] / cabal-testsuite / PackageTests / OfflineFlag / offlineFlag.test.hs
blob7c9617a623cf3972c48402538504e7b91993c56b
1 import Test.Cabal.Prelude
3 main =
4 cabalTest $ withShorterPathForNewBuildStore $ do
5 skipUnlessGhcVersion ">= 8.1"
6 skipIfWindows
7 withProjectFile "cabal.repo.project" $ do
8 withRepo "repo" $ do
9 fails $ cabal "v2-build" ["current", "--offline"]
10 cabal "v2-build" ["current"]
11 cabal "v2-build" ["current", "--offline"]