Skip to content

Commit

Permalink
Update from Hackage at 2020-06-19T19:23:19Z
Browse files Browse the repository at this point in the history
  • Loading branch information
all-cabal-tool committed Jun 19, 2020
1 parent 774820b commit 4b1f24a
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 0 deletions.
149 changes: 149 additions & 0 deletions smuggler2/0.3.6.1/smuggler2.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
cabal-version: 3.0
name: smuggler2
version: 0.3.6.1
synopsis:
GHC Source Plugin that helps to minimise imports and generate explicit exports

description:
== Usage
Add @smuggler2@ to the build dependencies of your project.
.
Then add the following to ghc-options: @-fplugin=Smuggler2.Plugin@. See the
README <https://hackage.haskell.org/package/smuggler2> for more details
and options.

homepage: https://github.com/jrp2014/smuggler2
bug-reports: https://github.com/jrp2014/smuggler2/issues
license: MPL-2.0
license-file: LICENSE
author: jrp2014, Dmitrii Kovanikov, Veronika Romashkina
maintainer: jrp2014
copyright: 2020 jrp2014, Dmitrii Kovanikov, Veronika Romashkina
category: Development, Refactoring, Compiler Plugin
build-type: Simple
extra-doc-files:
README.md
CHANGELOG.md
TODO.md

extra-source-files:
test/tests/**/*.hs
test/tests/**/*.MinimiseImportsNoExportProcessingPreludeDataVersion-golden
test/tests/**/*.MinimiseImportsReplaceExports-golden
test/tests/**/*.NoImportProcessingAddExplicitExports-golden
test/tests/**/*.NoImportProcessingNoExportProcessing-golden
test/tests/**/*.NoImportProcessingReplaceExports-golden
test/tests/**/*.PreserveInstanceImportsNoExportProcessingPrelude-golden
Makefile
Setup.hs
weeder.dhall
.hlint.yaml

-- wildcards are allowed only in the basename
--test/tests/*.*-golden

tested-with: GHC ==8.6.5 || ==8.8.3 || ==8.10.1

flag debug
description: Enable debugging support
default: False
manual: True

flag threaded
description: Build with support for multithreaded execution
default: True
manual: True

source-repository head
type: git
location: https://github.com/jrp2014/smuggler2

common common-options
-- test these bounds
build-depends: base >=4.9 && <4.16

-- -O2 gives a nearly 10% speed improvement
ghc-options:
-O2 -Wall -Wextra -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wcompat -Widentities
-Wredundant-constraints -fhide-source-paths -fobject-code

if impl(ghc >=8.10.0)
ghc-options: -Wunused-packages -fwrite-ide-info

if flag(debug)
ghc-options: -ddump-minimal-imports
cpp-options: -DDEBUG

default-language: Haskell2010

-- Most of these are unnecessary
default-extensions:
FlexibleContexts
FlexibleInstances
InstanceSigs
LambdaCase
MultiParamTypeClasses
TupleSections

library
import: common-options
hs-source-dirs: src
exposed-modules:
Smuggler2.Anns
Smuggler2.Exports
Smuggler2.Imports
Smuggler2.Options
Smuggler2.Parser
Smuggler2.Plugin

other-modules: Paths_smuggler2
autogen-modules: Paths_smuggler2
build-depends:
, containers ^>=0.6.0
, directory ^>=1.3.3
, filepath ^>=1.4.2
, ghc >=8.6.5 && <8.11
, ghc-boot >=8.6.5 && <8.11
, ghc-exactprint ^>=0.6.3
, split ^>=0.2.3
, syb ^>=0.7.1

if flag(debug)
build-depends: text

common executable-options
ghc-options: -rtsopts

if flag(debug)
ghc-options: -debug

if flag(threaded)
ghc-options: -threaded -with-rtsopts=-N

--executable ghc-smuggler2
-- import: common-options
-- import: executable-options
-- hs-source-dirs: app
-- main-is: Main.hs
-- build-depends:
-- , ghc-paths ^>=0.1.0
-- , typed-process ^>=0.2.6
-- , smuggler2 -any

test-suite smuggler2-test
import: common-options
import: executable-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
build-depends:
, containers
, directory
, filepath
, ghc
, ghc-paths
, smuggler2
, tasty
, tasty-golden ^>=2.3.4
, typed-process
1 change: 1 addition & 0 deletions smuggler2/0.3.6.1/smuggler2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"package-hashes":{"MD5":"1691fec5fda6392a0a9ae8296d2d4750","Skein512_512":"b76a7607d1d0dafd6a96dace10061291f514fbf18b477f5464f4e9941c7f1787477ea462e65f0e0f4f40388cff4cd3ca50ed135eb75568400ca0ebb368f7b98a","SHA1":"0b4076fa7b4247423fb031d28e99534486bcbd84","SHA512":"2f2907c1f08931eed17c42f519b0390987a3cdc6534a8766c476336852b6cd51dcfa1cc1ee35ce99464efd4c0959a0331838ca307b2aaa5fe57a6dee540c1cdd","SHA256":"0d7685ea9e298513e3566c74fa39a330831399bcff9507ff07b995f3a7c627f3"},"package-locations":["https://hackage.haskell.org/package/smuggler2-0.3.6.1/smuggler2-0.3.6.1.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/smuggler2-0.3.6.1.tar.gz"],"package-size":37811}

0 comments on commit 4b1f24a

Please sign in to comment.