on develop help sign in
Adding basic positional template layout
8732043Brendan Hay
gen/template/_include/license.edenew file+7
@@ -0,0 +1,7 @@
1+-- |
2+-- Module : {{ moduleName }}
3+-- Copyright : (c) 2015 Brendan Hay
4+-- License : Mozilla Public License, v. 2.0.
5+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
6+-- Stability : auto-generated
7+-- Portability : non-portable (GHC extensions)
gen/template/cabal.ede+36
@@ -0,0 +1,36 @@
1+name: {{ libraryName }}
2+version: {{ libraryVersion }}
3+synopsis: {{ libraryTitle }}.
4+homepage: https://github.com/brendanhay/gozen
5+bug-reports: https://github.com/brendanhay/gozen/issues
6+license: OtherLicense
7+license-file: LICENSE
8+author: Brendan Hay
9+maintainer: Brendan Hay <brendan.g.hay@gmail.com>
10+copyright: Copyright (c) 2013-2015 Brendan Hay
11+category: Network, Google, Cloud, Distributed Computing
12+build-type: Simple
13+cabal-version: >= 1.10
14+extra-source-files: README.md
15+
16+description:
17+ Pending
18+
19+source-repository head
20+ type: git
21+ location: git://github.com/brendanhay/gozen.git
22+
23+library
24+ default-language: Haskell2010
25+ hs-source-dirs: src gen
26+
27+ ghc-options: -Wall
28+
29+ exposed-modules:
30+ {% for module in exposedModules %}
31+ {% if module.first %} {% else %},{% endif %} {{ module.value }}
32+ {% endfor %}
33+
34+ build-depends:
35+ gozen-core == {{ coreVersion }}.*
36+ , base >= 4.7 && < 5
gen/template/readme.ede+28
@@ -0,0 +1,28 @@
1+# {{ libraryName }}
2+
3+* [Version](#version)
4+* [Description](#description)
5+* [Contribute](#contribute)
6+* [Licence](#licence)
7+
8+
9+## Version
10+
11+`{{ libraryVersion }}`
12+
13+
14+## Description
15+
16+A client library for the {{ libraryTitle }}.
17+
18+
19+## Contribute
20+
21+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
22+
23+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
24+
25+
26+## Licence
27+
28+`{{ libraryName }}` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gen/template/toc.ede+14
@@ -0,0 +1,14 @@
1+{% include "_include/license.ede" %}
2+--
3+-- {{ description }}
4+--
5+-- /See:/ <{{ documentationLink }} {{ title }} Reference>
6+module {{ moduleName }}
7+ (
8+ ) where
9+
10+{% for module in exposedModules %}
11+ {% if module.value != moduleName %}
12+import {{ module.value }}
13+ {% endif %}
14+{% endfor %}
gen/template/types.ede+9
@@ -0,0 +1,9 @@
1+{% include "_include/license.ede" %}
2+--
3+module {{ moduleName }}
4+ (
5+ ) where
6+
7+{% for import in moduleImports %}
8+import {{ import.value }}
9+{% endfor %}