mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
15 lines
311 B
Bash
Executable File
15 lines
311 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This scripts build the etcd binaries
|
|
# To build the tools, run `build_tools.sh`
|
|
|
|
set -euo pipefail
|
|
|
|
source ./scripts/test_lib.sh
|
|
source ./scripts/build_lib.sh
|
|
|
|
# only build when called directly, not sourced
|
|
if echo "$0" | grep -E "build(.sh)?$" >/dev/null; then
|
|
run_build etcd_build
|
|
fi
|