Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reverse skip_files in Google App Engine app.yaml

I currently have the following skip_files in my app.yaml:

skip_files:
- ^\..*
- ^.*\.(json|yaml)$
- ^Gruntfile\.js$
- ^bower_components
- ^node_modules
- ^src
- ^tests
- ^tmp

This is pretty bloated. Actually I just want to add everything to the skip_files except for everything in the dist folder.

Is this possible?

like image 646
Remco Haszing Avatar asked Oct 22 '14 16:10

Remco Haszing


2 Answers

This is working for me :

skip_files:
- (?!^dist)
like image 189
Alex Kubity Avatar answered Nov 25 '22 02:11

Alex Kubity


No. But for perspective, an 8 line skip_files is hardly bloated, at least from what I've seen people do.

like image 36
Dave W. Smith Avatar answered Nov 25 '22 02:11

Dave W. Smith