You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/27 15:31:40 UTC

[GitHub] [cordova-cli] infacto commented on issue #529: Change Cordova project detection.

infacto commented on issue #529:
URL: https://github.com/apache/cordova-cli/issues/529#issuecomment-682023319


   Yes you can use git ignore like:
   
   ```text
   www/*
   !www/.gitkeep
   ```
   
   Which will deploy `.gitkeep` to the app too. And may removed with a www clean command.
   Btw. the `index.html` can also be copied during the build process. No need to keep files in the www-folder.
   But anyway, I don't want to get off the topic. I just wonder if we could ignore the www-folder for a Cordova project detection. 
   Many commands depends on it to have the www-folder (empty or not). Also if you don't want to build. For example: Adding plugins. 
   
   I think we should consider to change this behavior. What's wrong to detect it by the config.xml and maybe package.json only. Regardless of the use of the www folder. 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org