mirror of https://github.com/perkeep/perkeep.git
make.go: allow dots in mirrored filenames
Fixes #887 Change-Id: I4274f422b417f1f7fd08fe9eea058974455a8895
This commit is contained in:
parent
fb21eee1e9
commit
3e93b66765
2
make.go
2
make.go
|
@ -80,7 +80,7 @@ var (
|
||||||
// Our temporary source tree root and build dir, i.e: buildGoPath + "src/camlistore.org"
|
// Our temporary source tree root and build dir, i.e: buildGoPath + "src/camlistore.org"
|
||||||
buildSrcDir string
|
buildSrcDir string
|
||||||
// files mirrored from camRoot to buildSrcDir
|
// 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
|
// base file exceptions for the above matching, so as not to complicate the regexp any further
|
||||||
mirrorIgnored = map[string]bool{
|
mirrorIgnored = map[string]bool{
|
||||||
"publisher.js": true, // because this file is (re)generated after the mirroring
|
"publisher.js": true, // because this file is (re)generated after the mirroring
|
||||||
|
|
Loading…
Reference in New Issue