tools/pas2c/pas2c.cabal
author unc0rr
Fri, 30 Mar 2018 20:42:24 +0200
changeset 13306 806347b3c978
parent 11399 ed6bb8c066b3
child 13512 36f3f77e9b1b
permissions -rw-r--r--
Improve error message a bit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11399
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     1
Name:                pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     2
Version:             0.1
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     3
Synopsis:            pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     4
Description:         pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     5
Homepage:            http://www.hedgewars.org/
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     6
License:             GPL-2
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     7
Author:              unC0Rr
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     8
Maintainer:          unC0Rr@hedgewars.org
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
     9
Category:            Converter
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    10
Build-type:          Simple
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    11
Cabal-version:       >=1.10
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    12
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    13
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    14
Executable pas2c
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    15
  main-is: Main.hs
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    16
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    17
  default-language:    Haskell2010
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    18
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    19
  build-depends:
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    20
    base >= 4.3,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    21
    containers,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    22
    mtl >= 2,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    23
    parsec,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    24
    pretty,
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    25
    transformers
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    26
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    27
  if !os(windows)
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    28
    build-depends: unix
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    29
ed6bb8c066b3 pas2c: Add cabal file
koda
parents:
diff changeset
    30
  ghc-options: -O2