Repository: cordova-docs Updated Branches: refs/heads/master a3589ce66 -> fb27db6b4
Change Header-file's "target" attribute to "target-dir" Attribute "target" of header-file does nothing to the file, It's still copied to the root of the plugin folder. "target-dir" will create the necessary folder and copy the file at the right place. This closes #645 Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/fb27db6b Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/fb27db6b Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/fb27db6b Branch: refs/heads/master Commit: fb27db6b42ff567c4354ec4b3570732d21aa1aa2 Parents: a3589ce Author: psavard <[email protected]> Authored: Thu Sep 29 08:58:38 2016 -0400 Committer: Shazron Abdullah <[email protected]> Committed: Thu Sep 29 11:53:48 2016 -0700 ---------------------------------------------------------------------- www/docs/en/dev/plugin_ref/spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/fb27db6b/www/docs/en/dev/plugin_ref/spec.md ---------------------------------------------------------------------- diff --git a/www/docs/en/dev/plugin_ref/spec.md b/www/docs/en/dev/plugin_ref/spec.md index 5bb6ad2..9e0a834 100644 --- a/www/docs/en/dev/plugin_ref/spec.md +++ b/www/docs/en/dev/plugin_ref/spec.md @@ -282,7 +282,7 @@ This is like `<source-file>` element but specifically for platforms such as iOS Attributes(type) <br/> <span class="sub-header">Only for platform:</span> | Description ---------------- | ------------ src(string) | *Required* <br/> Location of the file relative to `plugin.xml`. If the src file can't be found, the CLI stops and reverses the installation, issues a notification about the problem, and exits with a non-zero code. -target(string) | Path to where the file will be copied in your directory. +target-dir(string) | A directory into which the files should be copied, relative to the root of the Cordova project. Example: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
