Closed (fixed)
Project:
Drush Make
Version:
6.x-2.0-beta11
Component:
Documentation
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2011 at 10:40 UTC
Updated:
19 Feb 2011 at 19:00 UTC
The include directive can include files by URL (ftp, http or https) and local files.
When including local files path must be relative to includer makefile directory, but this isn't explained in README.txt.
I've attachted a patch for README.txt that explains that.
Actual text is:
An array of makefiles to include. Each include may be a local path or a direct
URL to the makefile. Includes are appended in order with the source makefile
appended last, allowing latter makefiles to override the keys/values of former
makefiles.
**Example:**
includes[example] = "example.make"
includes[remote] = "http://www.example.com/remote.make"
Proposed text is:
An array of makefiles to include. Each include may be a local relative path
to the includer makefile directory or a direct URL to the makefile. Includes
are appended in order with the source makefile appended last, allowing latter
makefiles to override the keys/values of former makefiles.
**Example:**
includes[example] = "example.make"
includes[example_relative] = "../example_relative/example_relative.make"
includes[remote] = "http://www.example.com/remote.make"
| Comment | File | Size | Author |
|---|---|---|---|
| drush_make_README_local_relative_paths.patch | 1.12 KB | tunic |
Comments
Comment #1
tunicChanging to "needs review" because a patch is included.
Comment #2
dmitrig01 commentedThanks