Skip to content

hpackifying simple-library #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions simple-library.hsfiles
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
{-# START_FILE {{name}}.cabal #-}
{-# START_FILE package.yaml #-}
name: {{name}}
version: 0.1.0.0
-- synopsis:
-- description:
homepage: https://github.com/{{github-username}}{{^github-username}}githubuser{{/github-username}}/{{name}}#readme
license: BSD3
license-file: LICENSE
author: {{author-name}}{{^author-name}}Author name here{{/author-name}}
maintainer: {{author-email}}{{^author-email}}[email protected]{{/author-email}}
copyright: {{copyright}}{{^copyright}}{{year}}{{^year}}2018{{/year}} {{author-name}}{{^author-name}}Author name here{{/author-name}}{{/copyright}}
category: {{category}}{{^category}}Web{{/category}}
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
extra-source-files:
- README.md

library
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
default-language: Haskell2010
dependencies:
- base >= 4.7 && < 5

source-repository head
type: git
location: https://github.com/{{github-username}}{{^github-username}}githubuser{{/github-username}}/{{name}}
library:
source-dirs:
- src
exposed-modules:
- Lib

{-# START_FILE Setup.hs #-}
import Distribution.Simple
Expand Down