1
1
mirror of https://github.com/thma/LtuPatternFactory.git synced 2024-11-22 10:53:33 +03:00

fix build

This commit is contained in:
Mahler, Thomas 2021-12-13 13:42:45 +01:00
parent ef22730979
commit 9785bf31f3
4 changed files with 208 additions and 4 deletions

3
.gitignore vendored
View File

@ -24,5 +24,4 @@ cabal.project.local~
*.iml
cabal.config
out/
stack.yaml
LtuPatternFactory.cabal
*.lock

139
LtuPatternFactory.cabal Normal file
View File

@ -0,0 +1,139 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
--
-- hash: 49436843f74952bc53c2de84ac6188dcab587551114ca7267c5e4f9f3ad2f987
name: LtuPatternFactory
version: 0.1.0.0
synopsis: Comparing OO Design Patterns with Functional Programming concepts
description: Please see the README on GitHub at <https://github.com/thma/LtuPatternFactory#readme>
category: Programming
homepage: https://github.com/thma/LtuPatternFactory#readme
bug-reports: https://github.com/thma/LtuPatternFactory/issues
author: Thomas Mahler
maintainer: thma@apache.org
copyright: 2018 - 2021 Thomas Mahler
license: Apache-2.0
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/thma/LtuPatternFactory
executable LtuPatternFactory
main-is: Main.hs
other-modules:
AbstractFactory
Adapter
AspectPascal
Builder
Category
CheapskateRenderer
CMarkGFMRenderer
Coerce
Command
Composite
CuttingStock
DataTransferObject
DependencyInjection
FluentApi
HigherOrder
IdiomBrackets
Infinity
Interpreter
Iterator
JsonPersistence
MapReduce
MiniPascal
NullObject
Pipeline
Proxy
Reflection
SimplePersistence
Singleton
Strategy
TemplateMethod
Visitor
Paths_LtuPatternFactory
hs-source-dirs:
src
build-depends:
aeson
, aeson-pretty
, base >=4.7 && <5
, blaze-html
, bytestring
, cheapskate
, cmark-gfm
, comonad
, containers
, directory
, mtl
, parallel
, tagged
, text
, time
, zlib
default-language: Haskell2010
test-suite LtuPatternFactory-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
AbstractFactory
Adapter
AspectPascal
Builder
Category
CheapskateRenderer
CMarkGFMRenderer
Coerce
Command
Composite
CuttingStock
DataTransferObject
DependencyInjection
FluentApi
HigherOrder
IdiomBrackets
Infinity
Interpreter
Iterator
JsonPersistence
MapReduce
MiniPascal
NullObject
Pipeline
Proxy
Reflection
SimplePersistence
Singleton
Strategy
TemplateMethod
Visitor
Paths_LtuPatternFactory
hs-source-dirs:
src
build-depends:
aeson
, aeson-pretty
, base >=4.7 && <5
, blaze-html
, bytestring
, cheapskate
, cmark-gfm
, comonad
, containers
, directory
, mtl
, parallel
, tagged
, text
, zlib
default-language: Haskell2010

View File

@ -2,18 +2,20 @@ name: LtuPatternFactory
version: 0.1.0.0
synopsis: Comparing OO Design Patterns with Functional Programming concepts
homepage: https://github.com/thma/LtuPatternFactory#readme
github: "https://github.com/thma/LtuPatternFactory"
github: "thma/LtuPatternFactory"
license: Apache-2.0
license-file: LICENSE
author: Thomas Mahler
maintainer: thma@apache.org
copyright: 2018, 2019 Thomas Mahler
copyright: 2018 - 2021 Thomas Mahler
category: Programming
#build-type: Simple
#cabal-version: >=1.10
extra-source-files: README.md
description: Please see the README on GitHub at <https://github.com/thma/LtuPatternFactory#readme>
dependencies:
- base >= 4.7 && < 5

64
stack.yaml Normal file
View File

@ -0,0 +1,64 @@
# This file was automatically generated by 'stack init'
#
# Some commonly used options have been documented as comments in this file.
# For advanced use and comprehensive documentation of the format, please see:
# https://docs.haskellstack.org/en/stable/yaml_configuration/
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies. For example:
#
# resolver: lts-3.5
# resolver: nightly-2015-09-21
# resolver: ghc-7.10.2
#
# The location of a snapshot can be provided as a file or url. Stack assumes
# a snapshot provided as a file might change, whereas a url resource does not.
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-13.30
# User packages to be built.
# Various formats can be used as shown in the example below.
#
# packages:
# - some-directory
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
# - location:
# git: https://github.com/commercialhaskell/stack.git
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# subdirs:
# - auto-update
# - wai
packages:
- .
# Dependency packages to be pulled from upstream that are not in the resolver
# using the same syntax as the packages field.
# (e.g., acme-missiles-0.3)
# extra-deps: []
# Override default flag values for local packages and extra-deps
# flags: {}
# Extra package databases containing global packages
# extra-package-dbs: []
# Control whether we use the GHC we find on the path
# system-ghc: true
#
# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: ">=1.9"
#
# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64
#
# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
#
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor