mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2025-01-06 03:26:11 +03:00
47815a5e87
I want to remobe Polysemy and this was using that. There is no need to add time to log messages anyway, since we're using the systemd journal.
33 lines
717 B
Haskell
33 lines
717 B
Haskell
module DoctestSpec where
|
|
|
|
import Test.DocTest
|
|
import Test.Hspec
|
|
|
|
main :: IO ()
|
|
main = hspec spec
|
|
|
|
spec :: Spec
|
|
spec = do
|
|
describe "Doctests" do
|
|
it "should all pass" do
|
|
doctest
|
|
[ "-isrc",
|
|
"-XOverloadedStrings",
|
|
"-XDataKinds",
|
|
"-XFlexibleContexts",
|
|
"-XGADTs",
|
|
"-XLambdaCase",
|
|
"-XPolyKinds",
|
|
"-XRankNTypes",
|
|
"-XScopedTypeVariables",
|
|
"-XTypeApplications",
|
|
"-XTypeFamilies",
|
|
"-XTypeOperators",
|
|
"-XBlockArguments",
|
|
"-flate-specialise",
|
|
"-fspecialise-aggressively",
|
|
"-fplugin=Polysemy.Plugin",
|
|
"src/Version.hs",
|
|
"src/GH.hs"
|
|
]
|