make.go: mirror assembly code too

pkg/fs/fs_test.go depends on bazil.org/fuse/syscallx, which in turn
depends on golang.org/x/sys/unix
We already had the assembly code vendored in for golang.org/x/sys/unix,
but we weren't mirroring it in make.go

This didn't show with 'go run make.go' because it only affects a test.
And it didn't show with 'go test ./pkg/fs' either, because the assembly
would then be found in GOPATH.
Only devcam test would detect it.

Change-Id: Ibb90a5fb986a3d0308ff9f1f8df8d5866cfec8c5
This commit is contained in:
mpl 2016-05-10 00:57:46 +02:00
parent cf85c385f9
commit 044c7b32d0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,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|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))$`) 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))$`)
) )
func main() { func main() {