tools/pas2c/pas2c.cabal
author Wuzzy <Wuzzy2@mail.ru>
Wed, 07 Mar 2018 15:09:31 +0100
changeset 13089 c9cdbf630447
parent 11399 ed6bb8c066b3
child 13506 36f3f77e9b1b
permissions -rw-r--r--
Stop SplitByChar also lowercasing the entire string. Fixes bug #581. It's weird that a function with this name would lowercase the whole string. Nemo and I have checked the history and code for any justifications of the lowercasing but we found none. I have checked in the code if anything actually depends on SplitByChar also lowercasing the string but I found nothing. It would surprise me since it's not obvious from the name IMO is bad coding practice anyway. Bug 581 is fixed by this because cLocale was (incorrectly) lowercased, which broke locale names like pt_BR to pt_br.
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