Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / vendor / drush / drush / examples / example.make
1 ; Example makefile
2 ; ----------------
3 ; This is an example makefile to introduce new users of drush_make to the
4 ; syntax and options available to drush_make. For a full description of all
5 ; options available, see README.txt.
6
7 ; This make file is a working makefile - try it! Any line starting with a `;`
8 ; is a comment.
9
10 ; Core version
11 ; ------------
12 ; Each makefile should begin by declaring the core version of Drupal that all
13 ; projects should be compatible with.
14
15 core = 7.x
16
17 ; API version
18 ; ------------
19 ; Every makefile needs to declare it's Drush Make API version. This version of
20 ; drush make uses API version `2`.
21
22 api = 2
23
24 ; Core project
25 ; ------------
26 ; In order for your makefile to generate a full Drupal site, you must include
27 ; a core project. This is usually Drupal core, but you can also specify
28 ; alternative core projects like Pressflow. Note that makefiles included with
29 ; install profiles *should not* include a core project.
30
31 ; Use Pressflow instead of Drupal core:
32 ; projects[pressflow][type] = "core"
33 ; projects[pressflow][download][type] = "file"
34 ; projects[pressflow][download][url] = "http://launchpad.net/pressflow/6.x/6.15.73/+download/pressflow-6.15.73.tar.gz"
35
36 ; Git clone of Drupal 7.x. Requires the `core` property to be set to 7.x.
37 ; projects[drupal][type] = "core"
38 ; projects[drupal][download][type] = git
39 ; projects[drupal][download][url] = http://git.drupal.org/project/drupal.git
40
41 projects[] = drupal
42
43 ; Projects
44 ; --------
45 ; Each project that you would like to include in the makefile should be
46 ; declared under the `projects` key. The simplest declaration of a project
47 ; looks like this:
48
49 ; To include the most recent views module:
50
51 projects[] = views
52
53 ; This will, by default, retrieve the latest recommended version of the project
54 ; using its update XML feed on Drupal.org. If any of those defaults are not
55 ; desirable for a project, you will want to use the keyed syntax combined with
56 ; some options.
57
58 ; If you want to retrieve a specific version of a project:
59
60 ; projects[views] = 2.16
61
62 ; Or an alternative, extended syntax:
63
64 projects[ctools][version] = 1.3
65
66 ; Check out the latest version of a project from Git. Note that when using a
67 ; repository as your project source, you must explicitly declare the project
68 ; type so that drush_make knows where to put your project.
69
70 projects[data][type] = module
71 projects[data][download][type] = git
72 projects[data][download][url] = http://git.drupal.org/project/views.git
73 projects[data][download][revision] = DRUPAL-6--3
74
75 ; For projects on drupal.org, some shorthand is available. If any
76 ; download parameters are specified, but not type, the default is git.
77 projects[cck_signup][download][revision] = "2fe932c"
78 ; It is recommended to also specify the corresponding branch so that
79 ; the .info file rewriting can obtain a version string that works with
80 ; the core update module
81 projects[cck_signup][download][branch] = "7.x-1.x"
82
83 ; Clone a project from github.
84
85 projects[tao][type] = theme
86 projects[tao][download][type] = git
87 projects[tao][download][url] = git://github.com/developmentseed/tao.git
88
89 ; If you want to install a module into a sub-directory, you can use the
90 ; `subdir` attribute.
91
92 projects[admin_menu][subdir] = custom
93
94 ; To apply a patch to a project, use the `patch` attribute and pass in the URL
95 ; of the patch.
96
97 projects[admin_menu][patch][687750] = "http://drupal.org/files/issues/admin_menu.long_.31.patch"
98
99 ; If all projects or libraries share common attributes, the `defaults`
100 ; array can be used to specify these globally, rather than
101 ; per-project.
102
103 defaults[projects][subdir] = "contrib"