- adding cabal and stack configuration files.

This commit is contained in:
Ricardo Henrique Gracini Guiraldelli 2015-10-08 02:23:50 +02:00
parent 9c45025bf6
commit 0e9b31f483
7 changed files with 79 additions and 15 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.stack-work/

View File

@ -1,14 +0,0 @@
binary-ghc-args:
- -O
- -threaded
module-template: ! 'module MODULE_NAME where
'
extensions: {}
environment: ghc-7.8-stable-14.09
auto-hidden: []
cabal-file: project.cabal
version: 1
extra-packages: ''
ghc-args: []
excluded-modules: []

24
LICENSE Normal file
View File

@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>

2
Setup.hs Normal file
View File

@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

23
shared-bills.cabal Normal file
View File

@ -0,0 +1,23 @@
name: shared-bills
version: 0.1.0.0
synopsis: An utility to share bills among roommates, friends, etc.
description: Please see README.md
homepage: https://bitbucket.org/guiraldelli/shared-bills
license: OtherLicense
license-file: LICENSE
author: Ricardo Henrique Gracini Guiraldelli
maintainer: ricardo.guiraldelli@gmail.com
copyright: OtherLicense
category: Application
build-type: Simple
cabal-version: >=1.10
executable shared-bills
hs-source-dirs: src
main-is: Main.hs
default-language: Haskell2010
build-depends: base >= 4.7 && < 5
, containers >= 0.5.6
, text >= 1.2.1
, time >= 1.5
, fclabels >= 2.0.2

View File

@ -15,4 +15,3 @@ data Bill = Bill
} deriving (Eq, Ord)
L.mkLabels [''Bill]

29
stack.yaml Normal file
View File

@ -0,0 +1,29 @@
# For more information, see: https://github.com/commercialhaskell/stack/blob/master/doc/yaml_configuration.md
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-3.7
# Local packages, usually specified by relative directory name
packages:
- '.'
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps: []
# Override default flag values for local packages and extra-deps
flags: {}
# 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: >= 0.1.4.0
# 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]