Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Spitzner committed Jun 8, 2016
0 parents commit 4f93f79
Show file tree
Hide file tree
Showing 9 changed files with 1,676 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
@@ -0,0 +1,13 @@
*.glade~
*.prof
*.aux
*.eventlog
*.hp
*.ps
/*.pdf
dist
.cabal-sandbox/
.stack-work/
cabal.sandbox.config
**/*.gui~
\#*.gui\#
5 changes: 5 additions & 0 deletions ChangeLog.md
@@ -0,0 +1,5 @@
# Revision history for cmdparse-applicative

## 0.1.0.0 -- YYYY-mm-dd

* First version. Released on an unsuspecting world.
30 changes: 30 additions & 0 deletions LICENSE
@@ -0,0 +1,30 @@
Copyright (c) 2016, Lennart Spitzner

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Lennart Spitzner nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 2 additions & 0 deletions Setup.hs
@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain
69 changes: 69 additions & 0 deletions cmdparse-applicative.cabal
@@ -0,0 +1,69 @@
-- Initial cmdparse-applicative.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/

name: cmdparse-applicative
version: 0.1.0.0
-- synopsis:
-- description:
license: BSD3
license-file: LICENSE
author: Lennart Spitzner
maintainer: lsp@informatik.uni-kiel.de
-- copyright:
-- category:
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10

flag cmdparse-applicative-dev
description: dev options
default: False

library
exposed-modules: UI.CmdParse.Applicative.Types
UI.CmdParse.Applicative
UI.CmdParse.Monadic.Types
UI.CmdParse.Monadic
-- other-modules:
-- other-extensions:
build-depends:
{ base >=4.9 && <4.10
, free
, unsafe
, lens
, qualified-prelude
, multistate
, pretty
, containers
, either
, transformers
, mtl
}
hs-source-dirs: src
default-language: Haskell2010
default-extensions: {
CPP

NoImplicitPrelude

GADTs

FlexibleContexts
FlexibleInstances
ScopedTypeVariables
MonadComprehensions
LambdaCase
MultiWayIf
KindSignatures
ApplicativeDo
}
ghc-options: {
-Wall
-fprof-auto -fprof-cafs -fno-spec-constr
-j
-fno-warn-unused-imports
-fno-warn-orphans
}
if flag(cmdparse-applicative-dev) {
ghc-options: -O0 -Werror
}

0 comments on commit 4f93f79

Please sign in to comment.