You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/01/10 22:03:51 UTC

[jira] [Commented] (CB-5764) Move .cordova/hooks to project root

    [ https://issues.apache.org/jira/browse/CB-5764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868297#comment-13868297 ] 

ASF subversion and git services commented on CB-5764:
-----------------------------------------------------

Commit 1df16b282eb04bbaa3130592076b8564a7e1474e in branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1df16b2 ]

CB-5764 Move hooks/ to top-level instead of under .cordova

This also changes to not pre-create hooks/ subdirectories since git
doesn't add empty directories anyways. Instead, it adds a README.md to
hooks.


> Move .cordova/hooks to project root
> -----------------------------------
>
>                 Key: CB-5764
>                 URL: https://issues.apache.org/jira/browse/CB-5764
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: CLI, Docs
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> .cordova/config.json is not meant to be put in version control, but hooks are. So, they should not be put into a hidden directory.
> So as to not conflict with shared git hooks, we'll call the directory `cordova-hooks`
> We should still support running hooks from `.cordova/hooks` for backwards compatibility.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)