Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude folder, when building application through PhoneGap Build

I keep both source code and test files (in tests folder) for my PhoneGap application in one repository. I build my application through PhoneGap Build, by providing link to my repository at GitHub. I'd like to exclude tests folder from built application, since its contenst aren't required by application and contains nearly 5 MB of files, which highly enlarges application size.

Is this possible, when using PhoneGap Build only?

Note, that I'm asking about PhoneGap Build (cloud), not about local build. So neither my question is a duplicate of this one, nor this answer suits me.

like image 801
trejder Avatar asked May 16 '26 00:05

trejder


1 Answers

Create a file named .pgbomit in any directories which you want excluded.

More info here and here.

like image 133
wildabeast Avatar answered May 18 '26 20:05

wildabeast