/
Master.hs
47 lines (40 loc) · 1.38 KB
/
Master.hs
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
40
41
42
43
44
45
46
47
module Config.Master (
module Config.Master,
module Config.App,
module Config.Database
) where
import Config.App
import Config.Database
----------------------------------------------------------------
-- Arguments to the make system used in the Dynamic Loader
----------------------------------------------------------------
compileArgs =
[ "-fglasgow-exts"
, "-XOverlappingInstances"
, "-XUndecidableInstances"
, "-F", "-pgmFtrturbinado"
, "-fno-warn-overlapping-patterns"
, "-odir " ++ compiledDir
, "-hidir " ++ compiledDir
, "-package HDBC"
, "-O"
]
mUserPkgConf = [""]
----------------------------------------------------------------
-- Paths
----------------------------------------------------------------
layoutDir = "App/Layouts"
layoutStub = "Turbinado/Stubs/Layout.hs"
configDir = "Config"
modelDir = "App/Models"
viewDir = "App/Views"
viewStub = "Turbinado/Stubs/View.hs"
controllerDir = "App/Controllers"
controllerStub = "Turbinado/Stubs/Controller.hs"
componentViewDir = "App/Components"
componentViewStub = "Turbinado/Stubs/ComponentView.hs"
componentControllerDir = "App/Components"
componentControllerStub = "Turbinado/Stubs/ComponentController.hs"
staticDirs = ["static", "tmp/cache"]
compiledDir = "tmp/compiled"
rootDir = "./"