name:           Condor
version:        0.3
cabal-version:  >= 1.10
build-type:     Simple
author:         Krzysztof Langner
maintainer:     klangner@gmail.com
synopsis:       Information retrieval library
homepage:       https://github.com/klangner/Condor
Bug-reports:    https://github.com/klangner/Condor/issues
stability:      Unstable interface, incomplete features.
category:       Search, Text, Library
License:        BSD3
License-file:   LICENSE
Extra-Source-Files:
                CHANGES
description:    
    An Information Retrieval (IR) library which consists of the following components:
    .
    * Search - for indexing and searching text documents. 
      Check "Condor.Search.Index" for API information
    .
    * Readers for reading documents from disk. Check "Condor.Reader.Text" folder text reader.

source-repository head
  type:     git
  location: https://github.com/klangner/Condor

executable condor
  hs-source-dirs:   src-app,
                    src
  default-language: Haskell2010
  build-depends:    
                    base >= 4 && <4.7,
                    binary >=0.5.1 && <0.6,
                    containers >=0.5.0 && <0.6,
                    directory >=1.2.0 && <1.3,
                    filepath >=1.3.0 && <1.4,
                    text >=1 && <1.1,
                    glider-nlp >= 0.1 && <1

  ghc-options:      -Wall
  other-modules:   
                    Condor.Commons.Document,
                    Condor.Commons.Unsafe,
                    Condor.Reader.Text,
                    Condor.Search.Index,
                    IO
  main-is:          Main.hs

library 
  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -Wall
  exposed-modules:  
                    Condor.Commons.Document,
                    Condor.Reader.Text,
                    Condor.Search.Index
  build-depends:    
                    base >= 4 && <4.7,
                    containers >=0.5.0 && <0.6,
                    binary >=0.5.1 && <0.6,
                    text >=1 && <1.1,
                    glider-nlp >= 0.1 && <1
  other-modules:    Condor.Commons.Unsafe

test-suite unit-tests
  type:             detailed-0.9
  test-module:      AllTests
  default-language: Haskell2010
  ghc-options:      -Wall -rtsopts
  build-depends:   
                    base >= 4 && <4.7,
                    HUnit >=1.2.5 && <1.3,
                    Cabal >=1.16.0 && <1.17,
                    containers >=0.5.0 && <0.6,
                    binary >=0.5.1 && <0.6,
                    text >=1 && <1.1,
                    glider-nlp >= 0.1 && <1

  other-modules:   
                    Condor.Commons.Document,
                    Condor.Commons.Unsafe,
                    Condor.Search.Index,
                    Condor.Search.IndexTest,
                    Distribution.TestSuite.HUnit
  hs-source-dirs:  
                    src,
                    test-src