Merge branch '16100-mime-types'
[arvados.git] / cmd / arvados-client / Makefile
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 all:
6         @printf "*** note *** due to an xgo limitation, this only works when the working tree is in GOPATH\n\n"
7         go mod download
8         docker build --tag=cgofuse --build-arg=http_proxy="$(http_proxy)" --build-arg=https_proxy="$(https_proxy)" https://github.com/arvados/cgofuse.git
9         go run github.com/karalabe/xgo --image=cgofuse --targets=linux/amd64,linux/386,darwin/amd64,darwin/386,windows/amd64,windows/386 .
10         install arvados-* "$(GOPATH)"/bin/
11         rm --interactive=never arvados-*