make.go: allow dots in mirrored filenames

Fixes #887

Change-Id: I4274f422b417f1f7fd08fe9eea058974455a8895
This commit is contained in:
mpl 2017-01-02 22:28:24 +01:00
parent fb21eee1e9
commit 3e93b66765
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ var (
// Our temporary source tree root and build dir, i.e: buildGoPath + "src/camlistore.org"
buildSrcDir string
// files mirrored from camRoot to buildSrcDir
rxMirrored = regexp.MustCompile(`^([a-zA-Z0-9\-\_]+\.(?:blobs|camli|css|eot|err|gif|go|s|pb\.go|gpg|html|ico|jpg|js|json|xml|min\.css|min\.js|mp3|otf|png|svg|pdf|psd|tiff|ttf|woff|xcf|tar\.gz|gz|tar\.xz|tbz2|zip|sh))$`)
rxMirrored = regexp.MustCompile(`^([a-zA-Z0-9\-\_\.]+\.(?:blobs|camli|css|eot|err|gif|go|s|pb\.go|gpg|html|ico|jpg|js|json|xml|min\.css|min\.js|mp3|otf|png|svg|pdf|psd|tiff|ttf|woff|xcf|tar\.gz|gz|tar\.xz|tbz2|zip|sh))$`)
// base file exceptions for the above matching, so as not to complicate the regexp any further
mirrorIgnored = map[string]bool{
"publisher.js": true, // because this file is (re)generated after the mirroring