16 lines
282 B
Makefile
16 lines
282 B
Makefile
.PHONY: run
|
|
|
|
INSTALL_DIR = $(HOME)/.local/bin
|
|
|
|
build:
|
|
@cargo build
|
|
|
|
run: build
|
|
@PATH=$(PWD)/target/debug:$(PATH) ./ts-control
|
|
|
|
install:
|
|
mkdir -p "$(INSTALL_DIR)"
|
|
cargo build --release
|
|
install -Dm755 -t "$(INSTALL_DIR)" \
|
|
./target/release/teamspeak-query-lib \
|
|
./ts-control
|