tools/pas2c/pas2c.cabal
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 23:01:05 +0200
changeset 14844 e239378a9400
parent 13511 36f3f77e9b1b
permissions -rw-r--r--
Prevent entering “/”, “\” and “:” in team and scheme names. The name of teams and schems is saved in the file name itself, so these characters would cause trouble as they are used in path names in Linux and Windows.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11404
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
13511
36f3f77e9b1b Switch from http:// to https:// URLs where possible
Wuzzy <Wuzzy2@mail.ru>
parents: 11404
diff changeset
     5
Homepage:            https://www.hedgewars.org/
11404
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