Compare commits
3 commits
main
...
fixMonoidW
Author | SHA1 | Date | |
---|---|---|---|
1b714f5b64 | |||
b04341d5f8 | |||
d24d76b6cf |
2 changed files with 18 additions and 13 deletions
28
SJW.cabal
28
SJW.cabal
|
@ -3,7 +3,7 @@ cabal-version: >=1.10
|
|||
-- further documentation, see http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: SJW
|
||||
version: 0.1.2.1
|
||||
version: 0.1.2.2
|
||||
synopsis: The Simple Javascript Wrench is a very simple tool to pack several JS «modules» into a single script.
|
||||
-- description:
|
||||
homepage: https://git.marvid.fr/Tissevert/SJW
|
||||
|
@ -25,14 +25,16 @@ library
|
|||
, SJW.Module.File
|
||||
, SJW.Module.Imports
|
||||
, SJW.Source
|
||||
build-depends: attoparsec
|
||||
build-depends: attoparsec >= 0.13.2 && < 0.14
|
||||
, base >=4.9 && <4.15
|
||||
, containers
|
||||
, directory
|
||||
, filepath
|
||||
, mtl
|
||||
, text
|
||||
, unix
|
||||
, containers >= 0.6.0 && < 0.7
|
||||
, directory >= 1.3.3 && < 1.4
|
||||
, filepath >= 1.4.2 && < 1.5
|
||||
, mtl >= 2.2.2 && < 2.3
|
||||
, random >= 1.1 && < 1.3
|
||||
, text >= 1.2.3 && < 1.3
|
||||
, time >= 1.9.0 && < 1.12
|
||||
, unix >= 2.7.2 && < 2.8
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -41,18 +43,18 @@ executable sjw
|
|||
main-is: src/Main.hs
|
||||
other-modules: Paths_SJW
|
||||
-- other-extensions:
|
||||
build-depends: attoparsec
|
||||
build-depends: attoparsec >= 0.13.2 && < 0.14
|
||||
, base >=4.9 && <4.15
|
||||
, optparse-applicative
|
||||
, optparse-applicative >= 0.15 && < 0.17
|
||||
, SJW
|
||||
, text
|
||||
, text >= 1.2.3 && < 1.3
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
||||
benchmark big-src
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: benchmark/Main.hs
|
||||
build-depends: base >= 4.9 && <4.15
|
||||
build-depends: base
|
||||
, directory
|
||||
, filepath
|
||||
, random
|
||||
|
@ -64,7 +66,7 @@ benchmark big-src
|
|||
test-suite tests
|
||||
type: detailed-0.9
|
||||
test-module: Tests
|
||||
build-depends: base >=4.11 && <4.13
|
||||
build-depends: base
|
||||
, Cabal
|
||||
, directory
|
||||
, filepath
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
{-# LANGUAGE NamedFieldPuns #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
module Main where
|
||||
|
||||
import Control.Applicative (many, optional)
|
||||
#if !MIN_VERSION_base(4,11,0)
|
||||
import Data.Monoid ((<>))
|
||||
#endif
|
||||
import qualified Data.Text as Text (unpack)
|
||||
import Data.Version (showVersion)
|
||||
import Options.Applicative (
|
||||
|
|
Loading…
Reference in a new issue