Commit bba71945 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added go generate for cli target

parent 44693521
...@@ -52,6 +52,9 @@ ctl: lakeFS-service lakeFS-config ...@@ -52,6 +52,9 @@ ctl: lakeFS-service lakeFS-config
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-fix_apache-arrow.patch patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-fix_apache-arrow.patch
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_ACL_warnings.patch patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_ACL_warnings.patch
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_new_version_notification.patch patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_new_version_notification.patch
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go generate ./pkg/api/apigen ./pkg/auth ./pkg/authentication
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go generate ./pkg/actions ./pkg/auth/ ./pkg/authentication ./pkg/graveler ./pkg/graveler/committed ./pkg/graveler/sstable ./pkg/kv ./pkg/perse
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go run cmd/lakectl/main.go docs > docs/reference/cli.md
cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go build -o lakectl -ldflags "-X github.com/treeverse/lakefs/pkg/version.Version=1.32.1" -v ./cmd/lakectl cd lakeFS-1.32.1 && HOME=$(CURDIR)/lakefs-home GO111MODULE=on GOCACHE=/tmp/gocache GOPATH=$(CURDIR)/../go/go $(CURDIR)/../go/go/bin/go build -o lakectl -ldflags "-X github.com/treeverse/lakefs/pkg/version.Version=1.32.1" -v ./cmd/lakectl
install -v -D -m0755 lakeFS-1.32.1/lakectl /usr/bin/lakectl install -v -D -m0755 lakeFS-1.32.1/lakectl /usr/bin/lakectl
rm -rf lakeFS-1.32.1 rm -rf lakeFS-1.32.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment