-
Notifications
You must be signed in to change notification settings - Fork 1
/
dub.json
92 lines (92 loc) · 4.02 KB
/
dub.json
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "eloquent",
"description": "Eloquent is a blogging application written in D.",
"copyright": "Copyright © 2015, Samael",
"authors": ["Samael"],
"homepage": "https://singingbush.com",
"license": "GPL-2.0",
"dependencies": {
"proper-d": "~>0.0.2",
"colourfulmoon": "~>1.0.2",
"vibe-core": "~>2.4.0",
"vibe-d:web": "~>0.9.7",
"vibe-d:tls": "~>0.9.7",
"sha3-d": "~>1.0.0",
"poodinis": "~>9.0.0",
"hibernated": "~>0.3.10"
},
"lflags-osx": ["-L/usr/local/opt/openssl/lib", "-L/usr/local/opt/sqlite/lib"],
"stringImportPaths": ["views", "i18n"],
"targetType": "executable",
"buildRequirements": [
"allowWarnings"
],
"toolchainRequirements": {
"dub": ">=1.14.0",
"frontend": ">=2.097"
},
"preGenerateCommands-posix": [
"if ! type \"npm\" > /dev/null; then echo -e \"You need to have Node.js and npm installed in order to build this project\nvisit https://nodejs.org for more info\"; exit 1; fi",
"if ! type \"yarn\" > /dev/null; then echo -e \"You need to have yarn installed in order to build this project\nvisit https://yarnpkg.com for more info\"; exit 1; fi",
"printf \"\\033[94mInstalling front end dependencies with yarn...\\033[0m\n\"",
"yarn install",
"mkdir -p ./public/js ./public/css ./public/fonts",
"rsync -u node_modules/@popperjs/core/dist/umd/popper.min.js ./public/js/popper.min.js",
"rsync -u node_modules/bootstrap/dist/css/bootstrap.min.css ./public/css/bootstrap.min.css",
"rsync -u node_modules/bootstrap/dist/js/bootstrap.min.js ./public/js/bootstrap.min.js",
"rsync -u node_modules/font-awesome/css/font-awesome.min.css ./public/css/font-awesome.min.css",
"rsync -u node_modules/font-awesome/fonts/fontawesome-webfont.* ./public/fonts/",
"echo client-side dependencies done."
],
"preGenerateCommands-windows": [
"where /q npm || echo \"You need to have Node.js and npm installed in order to build this project\nvisit https://nodejs.org for more info\"",
"where /q yarn || echo \"You need to have yarn installed in order to build this project\nvisit https://yarnpkg.com for more info\"; exit 1; fi",
"echo Installing front end dependencies with yarn...",
"yarn install",
"if not exist public\\js md public\\js",
"if not exist public\\css md public\\css",
"if not exist public\\fonts md public\\fonts",
"if not exist /public/js/popper.min.js copy node_modules\\@popperjs\\core\\dist\\umd\\popper.min.js public\\js\\popper.min.js",
"if not exist /public/css/bootstrap.min.css copy node_modules\\bootstrap\\dist\\css\\bootstrap.min.css public\\css\\bootstrap.min.css",
"if not exist /public/js/bootstrap.min.js copy node_modules\\bootstrap\\dist\\js\\bootstrap.min.js public\\js\\bootstrap.min.js",
"if not exist /public/css/font-awesome.min.css copy node_modules\\font-awesome\\css\\font-awesome.min.css public\\css\\font-awesome.min.css",
"if not exist /public/fonts/fontawesome-webfont.woff copy node_modules\\font-awesome\\fonts\\fontawesome-webfont.* public\\fonts\\",
"echo client-side dependencies done."
],
"preBuildCommands-posix": ["printf \"\\033[93mtodo\\033[0m get SASS compiler working as part of build\n\""],
"configurations": [
{
"name": "default",
"versions": ["PRODUCTION", "USE_MYSQL", "USE_SQLITE", "USE_PGSQL"],
"subConfigurations": {
"vibe-d:core": "vibe-core",
"hibernated": "full",
"ddbc": "full"
},
"buildRequirements": ["silenceWarnings"]
},
{
"name": "mysql",
"versions": ["PRODUCTION", "USE_MYSQL"],
"subConfigurations": {
"vibe-d:core": "vibe-core",
"hibernated": "MySQL",
"ddbc": "MySQL"
},
"buildRequirements": ["silenceWarnings"]
},
{
"name": "unittest",
"versions": ["DEVELOPMENT", "USE_SQLITE"],
"libs-posix": ["sqlite3"],
"libs-windows": ["sqlite3"],
"subConfigurations": {
"vibe-d:core": "vibe-core",
"hibernated": "SQLite",
"ddbc": "SQLite"
},
"buildRequirements": ["silenceWarnings", "silenceDeprecations"]
}
],
"versions": ["VibeDefaultMain", "Have_vibe_d_core"]
}