SJW/SJW.cabal

82 lines
2.7 KiB
Text
Raw Normal View History

cabal-version: >=1.10
-- Initial package description 'SJW.cabal' generated by 'cabal init'. For
-- further documentation, see http://haskell.org/cabal/users-guide/
name: SJW
2020-12-08 19:32:57 +01:00
version: 0.1.2.2
synopsis: The Simple Javascript Wrench
description:
SJW is a very simple tool to pack several JS «modules» into a single script.
It doesn't really do proper compilation work (yet) except resolving the
modules dependencies and detecting import loops but it provides each module
with an independent execution context in the resulting script.
homepage: https://git.marvid.fr/Tissevert/SJW
-- bug-reports:
license: BSD3
license-file: LICENSE
author: Tissevert
maintainer: tissevert+devel@marvid.fr
-- copyright:
category: Web
build-type: Simple
extra-source-files: CHANGELOG.md
library
exposed-modules: SJW
other-modules: SJW.Compiler
, SJW.Dependencies
, SJW.Module
, SJW.Module.File
, SJW.Module.Imports
, SJW.Source
2020-12-08 19:32:57 +01:00
build-depends: attoparsec >= 0.13.2 && < 0.14
2020-09-10 15:18:04 +02:00
, base >=4.9 && <4.15
2021-01-20 13:17:24 +01:00
, containers >= 0.5.0 && < 0.7
, directory >= 1.2.0 && < 1.4
2020-12-08 19:32:57 +01:00
, filepath >= 1.4.2 && < 1.5
, mtl >= 2.2.2 && < 2.3
, random >= 1.1 && < 1.3
, text >= 1.2.3 && < 1.3
2021-01-20 13:17:24 +01:00
, time >= 1.8.0 && < 1.12
2020-12-08 19:32:57 +01:00
, unix >= 2.7.2 && < 2.8
hs-source-dirs: src
default-language: Haskell2010
2020-01-01 17:14:10 +01:00
ghc-options: -Wall
executable sjw
main-is: src/Main.hs
other-modules: Paths_SJW
-- other-extensions:
build-depends: attoparsec
, base
2021-01-20 13:17:24 +01:00
, optparse-applicative >= 0.14 && < 0.17
, SJW
, text
default-language: Haskell2010
ghc-options: -Wall
2020-12-08 12:06:19 +01:00
benchmark big-src
type: exitcode-stdio-1.0
main-is: benchmark/Main.hs
2020-12-08 19:32:57 +01:00
build-depends: base
2020-12-08 12:06:19 +01:00
, directory
, filepath
, random
, SJW
, time
default-language: Haskell2010
ghc-options: -Wall
test-suite tests
type: detailed-0.9
test-module: Tests
2020-12-08 19:32:57 +01:00
build-depends: base
2020-12-08 12:06:19 +01:00
, Cabal
, directory
, filepath
, random
, SJW
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -Wall