mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
simplify installation
This commit is contained in:
@@ -4,16 +4,10 @@ ETCD_FLAGS := TELEPORT_TEST_ETCD_NODES=${ETCD_NODES}
|
||||
|
||||
.PHONY: install test test-with-etcd remove-temp files test-package update test-grep-package cover-package cover-package-with-etcd run profile sloccount set-etcd install-assets docs-serve
|
||||
|
||||
install: remove-temp-files install-assets
|
||||
go get github.com/jteeuwen/go-bindata/go-bindata
|
||||
go install github.com/gravitational/teleport/Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs
|
||||
go-bindata-assetfs -pkg="cp" ./assets/...
|
||||
mv bindata_assetfs.go ./cp
|
||||
sed -i 's|github.com/elazarl/go-bindata-assetfs|github.com/gravitational/teleport/Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs|' ./cp/bindata_assetfs.go
|
||||
install: remove-temp-files
|
||||
go install github.com/gravitational/teleport/teleport
|
||||
go install github.com/gravitational/teleport/tctl
|
||||
|
||||
|
||||
install-assets:
|
||||
go get github.com/jteeuwen/go-bindata/go-bindata
|
||||
go install github.com/gravitational/teleport/Godeps/_workspace/src/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs
|
||||
|
||||
Reference in New Issue
Block a user