forked from oswaldderiemaecker/subsite-starterkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.properties.dist
204 lines (144 loc) · 6.76 KB
/
build.properties.dist
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# Subsite configuration
# ---------------------
# The site name.
subsite.name = My Project
# The make file containing the dependencies of the subsite.
subsite.make = ${subsite.resources.dir}/site.make
# Modules to enable after installation. Separate multiple modules with spaces.
subsite.install.modules = myproject_core
# Drupal configuration
# --------------------
# Database settings.
drupal.db.type = mysql
drupal.db.name = db_name
drupal.db.user = db_user
drupal.db.password = db_pass
drupal.db.host = 127.0.0.1
drupal.db.port = 3306
drupal.db.url = ${drupal.db.type}://${drupal.db.user}:${drupal.db.password}@${drupal.db.host}:${drupal.db.port}/${drupal.db.name}
# Admin user.
drupal.admin.username = admin
drupal.admin.password = pass
drupal.admin.email = ${drupal.admin.username}@example.com
# The location of the .htaccess file in the Drupal root folder.
drupal.htaccess.path = ${platform.build.dir}/.htaccess
# Configuration to append to the .htaccess file in the Drupal root folder.
drupal.htaccess.append.text =
# The site name to use. Use 'all' unless you want to build a multisite setup.
drupal.site.name = all
# Platform configuration
# ----------------------
# The root directory of the platform. This will become the Drupal root folder,
# so point your web server here.
platform.build.dir = ${project.basedir}/platform
# The install profile to use. Either multisite_drupal_standard or
# multisite_drupal_communities.
platform.profile.name = multisite_drupal_standard
# The branch, tag or commit to use, eg. 'master', 'develop', '1.7', '7df0d254b'.
# It is possible to use MySQL style wildcards here.
platform.package.reference = develop
# The provider that hosts the platform repository.
platform.package.provider = bitbucket
# The name of the platform repository.
platform.package.repository = digit-fpfis-platform/nexteuropa
# The name of the folder where the platform will be downloaded.
platform.package.destination = ${phing.project.tmp.dir}
# The path to the downloaded package. This is named 'deploy-package.tar.gz'.
platform.package.tarball = ${phing.project.tmp.dir}/deploy-package.tar.gz
# The ContinuousPHP token. Leave this empty for open source projects. Note that
# the NextEuropa platform is open source.
platform.package.token =
# Paths
# -----
# Paths to executables.
composer.bin = composer.phar
drush.bin = ${project.basedir}/bin/drush
git.bin = git
phing.bin = ${project.basedir}/bin/phing
# Build location.
phing.project.build.dir = build
phing.project.src.dir = ${project.basedir}/src
subsite.build.dir = ${project.basedir}/${phing.project.build.dir}
# Temporary folder.
phing.project.tmp.dir = ${project.basedir}/tmp
# Local resources
subsite.resources.dir = ${project.basedir}/resources
subsite.resources.lib.dir = ${project.basedir}/lib
subsite.resources.features.dir = ${subsite.resources.lib.dir}/features
subsite.resources.modules.dir = ${subsite.resources.lib.dir}/modules
subsite.resources.source.dir = ${subsite.resources.lib.dir}/src
subsite.resources.themes.dir = ${subsite.resources.lib.dir}/themes
subsite.resources.composer.json = ${subsite.resources.dir}/composer.json
subsite.resources.composer.lock = ${subsite.resources.dir}/composer.lock
# Files and directories inside the Drupal installation.
platform.build.settings.dir = ${platform.build.sites.dir}/default
platform.build.files.dir = ${platform.build.settings.dir}/files
platform.build.profiles.dir = ${platform.build.dir}/profiles
platform.build.profile.dir = ${platform.build.profiles.dir}/${platform.profile.name}
platform.build.sites.dir = ${platform.build.dir}/sites
platform.build.subsite.dir = ${platform.build.sites.dir}/${drupal.site.name}
platform.build.subsite.libraries.dir = ${platform.build.subsite.dir}/libraries
platform.build.subsite.modules.dir = ${platform.build.subsite.dir}/modules
platform.build.subsite.modules.contrib.dir = ${platform.build.subsite.modules.dir}/contrib
platform.build.subsite.modules.custom.dir = ${platform.build.subsite.modules.dir}/custom
platform.build.subsite.modules.features.dir = ${platform.build.subsite.modules.dir}/features
platform.build.subsite.source.dir = ${platform.build.subsite.dir}/src
platform.build.subsite.themes.dir = ${platform.build.subsite.dir}/themes
platform.build.subsite.composer.json = ${platform.build.subsite.dir}/composer.json
platform.build.subsite.composer.lock = ${platform.build.subsite.dir}/composer.lock
# Behat configuration
# -------------------
# The location of the Behat executable.
behat.bin = ${project.basedir}/bin/behat
# The location of the Behat tests.
behat.dir = ${project.basedir}/tests
# The location of the Behat configuration template.
behat.yml.template = ${behat.dir}/behat.yml.dist
# The location of the generated Behat configuration file.
behat.yml.path = ${behat.dir}/behat.yml
# The base URL to use in Behat tests.
behat.base_url = http://localhost
# The location to search for Behat subcontexts.
behat.subcontexts.path = ${platform.build.subsite.dir}
# The output format to use for Behat tests, either 'progress' or 'pretty'.
behat.formatter.name = progress
# Enable strict mode in Behat tests. Will only pass if all tests are explicitly
# passing.
behat.options.strict = false
# Set verbosity for Behat tests. 0 is completely silent, 1 is normal output, 2
# shows exception backtraces, 3 shows debugging information.
behat.options.verbosity = 2
# The path to the custom Behat Contexts.
behat.src.dir = ${behat.dir}/src
# PHP CodeSniffer configuration
# -----------------------------
# The file extensions to test.
phpcs.extensions = php inc module install info test profile theme css js
# The default configuration file to generate.
phpcs.config = ${project.basedir}/phpcs.xml
# The coding standard to use.
phpcs.standard = ${project.basedir}/phpcs-ruleset.xml
# Paths to check, delimited by semicolons.
phpcs.files = ${subsite.resources.dir};${subsite.resources.lib.dir};${phing.project.src.dir};${behat.src.dir}
# Paths to ignore, delimited by semicolons.
phpcs.ignore =
# The report format. For example 'full', 'summary', 'diff', 'xml', 'json'.
phpcs.report = full
# Whether or not to show sniff codes in the report.
phpcs.sniffcodes = 0
# Whether or not to show the progress of the run.
phpcs.progress = 1
# The location of the file containing the global configuration options.
phpcs.global.config = ${project.basedir}/vendor/squizlabs/php_codesniffer/CodeSniffer.conf
# Host configuration
# ------------------
server.docroot = /var/www
# Debugging and development configuration
# ---------------------------------------
# Verbosity of drush commands. Set to TRUE to be verbose.
drush.verbose = FALSE
# Verbosity of PHP Codesniffer. Set to 0 for standard output, 1 for progress
# report, 2 for debugging info.
phpcs.verbose = 0
# Development / testing modules to enable.
drupal.development.modules = devel field_ui maillog simpletest views_ui