Google App Engine app.yaml中的反向skip_files [英] Reverse skip_files in Google App Engine app.yaml
本文介绍了Google App Engine app.yaml中的反向skip_files的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前在app.yaml中有以下 skip_files
:
I currently have the following skip_files
in my app.yaml:
skip_files:
- ^\..*
- ^.*\.(json|yaml)$
- ^Gruntfile\.js$
- ^bower_components
- ^node_modules
- ^src
- ^tests
- ^tmp
这非常臃肿。其实我只是想把所有东西都添加到 skip_files
中,除了 dist
文件夹中的所有内容。
This is pretty bloated. Actually I just want to add everything to the skip_files
except for everything in the dist
folder.
这可能吗?
推荐答案
这对我有用:
skip_files:
- (?!^dist)
这篇关于Google App Engine app.yaml中的反向skip_files的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文