cleanup makefile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-06-04 14:58:04 +02:00
parent 88d47949e5
commit 70a4e63597

View File

@ -18,10 +18,10 @@ build-src:
.PHONY: build-bin
build-bin:
RUSTFLAGS="-C link-arg=-s" rustup set profile minimal && \
rustup set profile minimal && \
cd $(SRC) && \
RUSTFLAGS="-C link-arg=-s" rustup target add x86_64-unknown-linux-musl && \
RUSTFLAGS="-C link-arg=-s" BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release
rustup target add x86_64-unknown-linux-musl && \
BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release
.PHONY: clean
clean: