-
Notifications
You must be signed in to change notification settings - Fork 8
/
taskman.yml.dist
68 lines (65 loc) · 2.51 KB
/
taskman.yml.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
drupal:
core: 7
base_url: "http://web:8080/build"
site:
profile: minimal
database:
host: "mysql"
port: "3306"
name: "ec_europa"
user: "root"
password: ""
settings:
conf:
file_scan_ignore_directories:
- vendor
- ${drupal.root}
- node_modules
- bower_components
- build
- sites/all/themes/ec_europa/build
- build/sites/all/themes/ec_europa/build
drupal_http_request_fails: false
post_install:
- { task: "chmod", file: "${drupal.root}/sites/default/files", permissions: 0777, recursive: true }
- ./vendor/bin/drush --root=$(pwd)/build dis -y color comment dashboard dblog help overlay path search shortcut toolbar update
- ./vendor/bin/drush --root=$(pwd)/build pmu -y color comment dashboard dblog help overlay path search shortcut toolbar update
- ./vendor/bin/drush --root=$(pwd)/build en -y admin_menu adminrole admin_menu_toolbar admin_devel atomium composer_autoloader devel realistic_dummy_content
- ./vendor/bin/drush --root=$(pwd)/build vset theme_default ec_europa
- ./vendor/bin/drush --root=$(pwd)/build cc all
drush:
options:
ignored-directories:
- vendor
- ${drupal.root}
- node_modules
- bower_components
- build
- sites/all/themes/ec_europa/build
- build/sites/all/themes/ec_europa/build
uri: "${drupal.base_url}"
commands:
drupal:site-setup:
- { task: "chmod", file: "${drupal.root}/sites", permissions: 0777, recursive: true }
- { task: "symlink", from: "../../../../..", to: "${drupal.root}/sites/all/themes/custom/ec_europa" }
- { task: "run", command: "drupal:drush-setup" }
- { task: "run", command: "drupal:settings-setup" }
- { task: "run", command: "setup:phpunit" }
- { task: "run", command: "setup:behat" }
setup:phpunit:
- { task: "process", from: "phpunit.xml.dist", to: "phpunit.xml" }
setup:behat:
- { task: "process", from: "behat.yml.dist", to: "behat.yml" }
release:
tasks:
- { task: "remove", file: "ec_europa/assets" }
- { task: "remove", file: "ec_europa/templates" }
- { task: "copy", from: "assets", to: "ec_europa/assets" }
- { task: "copy", from: "templates", to: "ec_europa/templates" }
- task: "append"
file: "ec_europa/ec_europa.info"
text: |
# Information added by PHP Taskman packaging script on ${release.date} at ${release.time}.
project = ec_europa
version = ${release.version}
datestamp = ${release.timestamp}