what2watch/Makefile
2023-10-22 13:57:00 -07:00

22 lines
358 B
Makefile

.PHONY: run
run: libjulid.so
cargo run --release
.PHONY: init
init:
git submodule init && git submodule update
julid: init
cd julid && \
cargo build --release --no-default-features -F plugin && \
cp target/release/libjulid.so ../
libjulid.so: julid
.PHONY: build
build: libjulid.so
cargo build --release
.PHONY: test
test: libjulid.so
cargo test