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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to