Is there any way to specify repo files to exclude from the app build?

  • 2
  • Question
  • Updated 9 years ago
I am building an open source application based on the jQuery Mobile demo found at https://github.com/jquery/jquery-mobile (Please don't ask me to fix me problem by changing my repo. It's not MY repo.) The problem I run into is that there are 15MB of LARGE files that I don't want to end up in the application. Is there any way to specify repo files to exclude from the app build?
Photo of Richard Bronosky

Richard Bronosky

  • 3 Posts
  • 0 Reply Likes
  • happy

Posted 9 years ago

  • 2
Photo of Dave Johnson

Dave Johnson

  • 129 Posts
  • 13 Reply Likes
Not yet but we have discussed adding a ".phonegapignore" file to projects like a .gitignore - it will be coming at some point!
Photo of Richard Bronosky

Richard Bronosky

  • 3 Posts
  • 0 Reply Likes
Thanks for the quick reply. Until then I can create a .phonegapignore file and write a script to use findutils to remove the files/directories. I'll have to create an integration branch where I will keep the external repos pristine. I assume that PhoneGap Build only give the option to build master. Ist that correct?