Last active
May 3, 2020 08:53
-
-
Save vaclavsvejcar/cbbbeed5b7844cef25f76a0f4c032e65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: headroom | |
version: 0.2.2.0 | |
homepage: https://github.com/vaclavsvejcar/headroom | |
license: BSD-3-Clause | |
license-file: LICENSE | |
author: Vaclav Svejcar | |
maintainer: [email protected] | |
copyright: Copyright (c) 2019-2020 Vaclav Svejcar | |
github: vaclavsvejcar/headroom | |
category: Utils | |
synopsis: License Header Manager | |
description: > | |
Would you like to have nice, up-to-date license/copyright headers in your | |
source code files but hate to manage them by hand? Then Headroom is the right | |
tool for you! Now you can define your license header as Mustache template, | |
put all the variables (such as author's name, year, etc.) into the YAML config | |
file and Headroom will take care to add such license headers to all your | |
source code files. | |
extra-source-files: | |
- CHANGELOG.md | |
- LICENSE | |
- README.md | |
- embedded/** | |
- embedded/license/*/*.mustache | |
- test-data/* | |
- test-data/code-samples/*/* | |
- test-data/configs/* | |
- test-data/test-traverse/* | |
- test-data/test-traverse/foo/* | |
- test-data/test-traverse/foo/bar/* | |
dependencies: | |
- base >= 4.7 && < 5 | |
- optparse-applicative | |
- rio | |
ghc-options: | |
- -optP-Wno-nonportable-include-path | |
- -Wall | |
- -Wcompat | |
- -Widentities | |
- -Wincomplete-record-updates | |
- -Wincomplete-uni-patterns | |
- -Wpartial-fields | |
- -Wredundant-constraints | |
- -Werror=incomplete-patterns | |
executables: | |
headroom: | |
main: Main.hs | |
source-dirs: app | |
dependencies: | |
- headroom | |
ghc-options: | |
- -threaded | |
- -rtsopts | |
- -with-rtsopts=-N | |
library: | |
source-dirs: src | |
generated-other-modules: Paths_headroom | |
dependencies: | |
- aeson | |
- either | |
- file-embed | |
- mustache | |
- pcre-light | |
- template-haskell | |
- time | |
- yaml | |
tests: | |
spec: | |
main: Spec.hs | |
source-dirs: test | |
dependencies: | |
- aeson | |
- headroom | |
- hspec | |
- pcre-light | |
- QuickCheck | |
doctest: | |
main: Main.hs | |
source-dirs: doctest | |
dependencies: | |
- doctest | |
verbatim: | |
cabal-version: 3.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment