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

ASF GitHub Bot commented on CB-5833:
------------------------------------

Github user mmocny commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/169#discussion_r11900183
  
    --- Diff: src/create.js ---
    @@ -146,11 +170,20 @@ module.exports = function create (dir, id, name, cfg) 
{
             } else {
                 shell.mkdir(www_dir);
                 shell.cp('-rf', path.join(www_lib, '*'), www_dir);
    +            if (custom_merges) {
    +                shell.cp('-rf', path.join(custom_merges, '*'), 
path.join(dir, 'merges'));
    --- End diff --
    
    Why do we pre-create www_dir and not merges?


> --copy-from and --link-to should work when pointed to a dir that contains a 
> www/ and config.xml
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-5833
>                 URL: https://issues.apache.org/jira/browse/CB-5833
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Andrew Grieve
>            Assignee: Mark Koudritsky
>            Priority: Minor
>
> The recently added --source and --link flags allow you to create a project 
> given its www/. It would be even more useful to be able to create a project 
> using a dir that contains config.xml, merges/ and www/. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to