OXYGENHUB
◆ push-notes oxygen / Makefile
288 B · Makefile · last changed Build identity in oxy --version 1 month ago source blame history raw
1
# Build and install oxy with its build identity (oxy describe) in --version.
2
.PHONY: install
3
install:
4
	OXY_BUILD="$$(oxy --plain describe 2>/dev/null)" CARGO_INCREMENTAL=0 cargo build --release
5
	ln -sf $(CURDIR)/target/release/oxy $(HOME)/.local/bin/oxy
6
	$(HOME)/.local/bin/oxy --version