go - How to exclude multiple directories from bee pack -
how exclude multiple directories bee pack tool?
bee pack -ba "-tags prod" -exr=^userfiles$
this excludes particular directory. want exclude directories named userfiles, deploy, docs. tried
-exr=[^userfiles$,^deploy$,^docs$]
-exr=["^userfiles$","^deploy$","^docs$"]
both of these didn't work.
since exr regexp, try , use (using re2 syntax) composite:
-exr=^(?:userfile|deploy|docs)$
the op joseph confirms idea in comments:
goop exec bee pack -ba "-tags prod" -exr="^(?:userfiles|deploy|tests|docs)$"
Comments
Post a Comment