mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
add pre-fleet to binary bundle and fix typo
This commit is contained in:
parent
bb6f3af190
commit
2ded63ea03
4
Makefile
4
Makefile
@ -202,11 +202,11 @@ demo-restore:
|
|||||||
-h ${MYSQL_PORT_3306_TCP_ADDR} kolide \
|
-h ${MYSQL_PORT_3306_TCP_ADDR} kolide \
|
||||||
< ./tools/app/demo.sql
|
< ./tools/app/demo.sql
|
||||||
|
|
||||||
binary-bundle: generate
|
binary-bundle: generate .pre-fleet
|
||||||
rm -rf build/binary-bundle
|
rm -rf build/binary-bundle
|
||||||
mkdir -p build/binary-bundle/linux
|
mkdir -p build/binary-bundle/linux
|
||||||
mkdir -p build/binary-bundle/darwin
|
mkdir -p build/binary-bundle/darwin
|
||||||
GOOS=linux go build -i -o build/binary-bundle/linux/${OUTPUT}_linux_amd64 -ldflags ${KIT_VERSION} ./cmd/fleet
|
GOOS=linux go build -i -o build/binary-bundle/linux/${OUTPUT}_linux_amd64 -ldflags ${KIT_VERSION} ./cmd/fleet
|
||||||
GOOS=darwin go build -i -o build/binary-bundle/darwin/${OUTPUT}_darwin_amd64 -ldflags ${KIT_VERSION} ./cmd/fleet
|
GOOS=darwin go build -i -o build/binary-bundle/darwin/${OUTPUT}_darwin_amd64 -ldflags ${KIT_VERSION} ./cmd/fleet
|
||||||
cd build/binary-bundle && zip -r "fleet_${VERSION}.zip" darwin/ linux/
|
cd build/binary-bundle && zip -r "fleet_${VERSION}.zip" darwin/ linux/
|
||||||
cp build/binary-bundle/fleet_${VERSION}.zip build/binary-bundle/fleet_lastest.zip
|
cp build/binary-bundle/fleet_${VERSION}.zip build/binary-bundle/fleet_latest.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user