mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
semantic-core no longer has doctests.
This commit is contained in:
parent
d20cbead89
commit
9e31fc1f9b
@ -37,7 +37,6 @@ script:
|
||||
- cabal new-build
|
||||
- cabal new-run semantic:test
|
||||
- cabal new-run semantic-core:test
|
||||
- cabal new-run semantic-core:doctest
|
||||
- cabal new-run semantic-python:test
|
||||
- cabal new-run semantic-source:test
|
||||
- cabal new-run semantic-source:doctest
|
||||
|
@ -59,17 +59,6 @@ library
|
||||
, trifecta ^>= 2
|
||||
, unordered-containers ^>= 0.2.10
|
||||
|
||||
test-suite doctest
|
||||
import: common
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
main-is: Doctest.hs
|
||||
build-depends:
|
||||
base >=4.9 && <4.13
|
||||
, doctest >=0.7 && <1.0
|
||||
, QuickCheck
|
||||
, semantic-core
|
||||
|
||||
test-suite test
|
||||
import: common
|
||||
type: exitcode-stdio-1.0
|
||||
|
@ -1,12 +0,0 @@
|
||||
module Main
|
||||
( main
|
||||
) where
|
||||
|
||||
import System.Environment
|
||||
import Test.DocTest
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
args <- getArgs
|
||||
autogen <- fmap (<> "/build/doctest/autogen") <$> lookupEnv "HASKELL_DIST_DIR"
|
||||
doctest (maybe id ((:) . ("-i" <>)) autogen ("-isemantic-core/src" : "--fast" : if null args then ["semantic-core/src"] else args))
|
Loading…
Reference in New Issue
Block a user