packages feed

harmony 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+19/−9 lines, 3 filesdep ~base

Dependency ranges changed: base

Files

README.md view
@@ -1,4 +1,4 @@-# Harmony+# Harmony [![Hackage version](https://img.shields.io/hackage/v/harmony.svg?style=flat)](https://hackage.haskell.org/package/harmony) [![Build Status](https://secure.travis-ci.org/SantiMunin/harmony.svg?branch=master)](http://travis-ci.org/SantiMunin/harmony) Harmony is a web service specification compiler that generates implementation (server and client) and tests.  ## Targets supported@@ -8,6 +8,11 @@ + Client (and [Hypothesis](https://github.com/DRMacIver/hypothesis) based tests)   + Python (`-cpython`) +## Installation+++ From Hackage: `cabal install harmony`++ From source code: `git clone https://www.github.com/SantiMunin/harmony && cd harmony && cabal install`+ ## Usage  After installing the package (`cabal install`), you will get the `harmony` executable. Afterwards:@@ -17,7 +22,8 @@       -s[SERVERS]     --server[=SERVERS]         Desired output for the server       -o[OUTPUT_DIR]  --output_dir[=OUTPUT_DIR]  Output path -Check the [Targets supported](#targets-supported) section to figure out the code related to each target.+Check the [Targets supported](#targets-supported) section to figure out the code related to each target. Also, refer to the [wiki](https://github.com/SantiMunin/harmony/wiki) for more information.+ ## Syntax  The input file should follow the syntax specified in `language_spec/Language.cf`. Example:@@ -41,3 +47,7 @@     }      resource Person ("/person")++## Contributing++See the [wiki](https://github.com/SantiMunin/harmony/wiki).
harmony-commandline/Main.hs view
@@ -28,11 +28,11 @@ options = [ Option "c" ["client"]                    (OptArg (\c options -> options { generationFunctions = parseClient c:generationFunctions options})                            "CLIENTS")-                   "Desired output for the client"+                   "Desired output for the client: {-cpython}"           , Option "s" ["server"]                    (OptArg (\s options -> options { generationFunctions = parseServer s:generationFunctions options})                            "SERVERS")-                   "Desired output for the server"+                   "Desired output for the server: {-sjs}"           , Option "o" ["output_dir"]                    (OptArg (\dir options -> options { outputDir = fromJust dir })                            "OUTPUT_DIR")
harmony.cabal view
@@ -6,7 +6,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.1.0.0+version:             0.1.0.1  synopsis:            A web service specification compiler that generates implementation and tests. @@ -42,7 +42,7 @@  library -  build-depends:       base >=4.7 && <4.8+  build-depends:       base >= 4.6 && < 5                      , array                      , containers                      , BNFC@@ -85,7 +85,7 @@    main-is:             Main.hs -  build-depends:       base >= 4.7 && < 4.8+  build-depends:       base >= 4.6 && < 5                      , harmony    default-language:    Haskell2010@@ -100,7 +100,7 @@    main-is:             Spec.hs -  build-depends:       base >= 4.7 && < 4.8+  build-depends:       base >= 4.7 && < 5                      , containers                      , hspec >= 2.0                      , QuickCheck@@ -112,7 +112,7 @@   default-language:    Haskell2010  test-suite hlint-  build-depends:       base >= 4.7 && < 4.8+  build-depends:       base >= 4.6 && < 5                      , hlint    ghc-options:         -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind