File: hjsmin.cabal

package info (click to toggle)
haskell-hjsmin 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 116 kB
  • sloc: haskell: 152; sh: 30; makefile: 3
file content (69 lines) | stat: -rw-r--r-- 2,087 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name:            hjsmin
version:         0.2.1
license:         BSD3
license-file:    LICENSE
author:          Alan Zimmerman <alan.zimm@gmail.com>
maintainer:      Erik de Castro Lopo <erikd@mega-nerd.com>
synopsis:        Haskell implementation of a javascript minifier
description:
   Reduces size of javascript files by stripping out extraneous whitespace and
   other syntactic elements, without changing the semantics.
category:        Web
stability:       unstable
cabal-version:   >= 1.10
build-type:      Simple
homepage:        http://github.com/erikd/hjsmin
bug-reports:     http://github.com/erikd/hjsmin/issues

Extra-source-files:
  Readme.md
  test/cli/core/runner
  test/cli/empty-input/run
  test/cli/minimal-input/run


library
  default-language:     Haskell2010
  ghc-options:          -Wall
  hs-source-dirs:       src

  exposed-modules:      Text.Jasmine

  build-depends:        base                    >= 4.9          && < 5
                      , bytestring              >= 0.11
                      , language-javascript     >= 0.6          && < 0.8
                      , text                    >= 2


executable hjsmin
  default-language:     Haskell2010
  ghc-options:         -Wall -threaded
  hs-source-dirs:       src main
  main-is:              hjsmin.hs

  -- Need this here because the library and the executable have the same name.
  other-modules:        Text.Jasmine

  build-depends:        base
                      , bytestring
                      , language-javascript
                      , optparse-applicative    >= 0.7
                      , text

test-suite test-cli
  type:                 exitcode-stdio-1.0
  ghc-options:          -Wall -fwarn-tabs
  default-language:     Haskell2010
  hs-source-dirs:       test
  main-is:              test-cli.hs

  build-depends:        base
                      , directory
                      , extra
                      , filepath
                      , process
                      , unix

source-repository head
  type:     git
  location: https://github.com/erikd/hjsmin.git