Makefile: add tikv-ctl make rule
@@ -57,6 +57,11 @@ dev: format clippy
build:
cargo build --features "${ENABLE_FEATURES}"
+ctl:
+ @cargo build --release --features "${ENABLE_FEATURES}" --bin tikv-ctl
+ @mkdir -p ${BIN_PATH}
+ @cp -f ${CARGO_TARGET_DIR}/release/tikv-ctl ${BIN_PATH}/
+
run:
cargo run --features "${ENABLE_FEATURES}" --bin tikv-server
