/
cabal-templates.xml
39 lines (37 loc) · 1.12 KB
/
cabal-templates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="ISO-8859-1"?>
<templates>
<template id="simpleLibrary"
name="Simple Library Package"
description="A package containing a simple library"
context="cabalPackageDescriptionTemplates"
enabled="true">Name: ${name}
Version: ${version}
Cabal-Version: >= 1.2
License: ${license}
Author: ${author}
Homepage: http://${homepage}
Category: ${category}
Synopsis: ${synopsis}
Build-Type: Simple
Library
Build-Depends: base
Hs-Source-Dirs: src
Exposed-modules: ${exposedModules}
</template>
<template id="executables"
name="Package with Executable"
description="A package containing an executable program"
context="cabalPackageDescriptionTemplates"
enabled="true">Name: ${name}
Version: ${version}
Cabal-Version: >= 1.2
License: ${license}
Author: ${author}
Synopsis: ${synopsis}
Build-Type: Simple
Executable ${name}
Main-Is: Main.hs
Hs-Source-Dirs: src
Build-Depends: base
</template>
</templates>