This repository has been archived on 2024-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
vaultwarden-ldap/Makefile
Renovator Bot 6378fb8ac0
All checks were successful
continuous-integration/drone/pr Build is passing
chore(deps): update dependency vividboarder/bitwarden_rs_ldap to v0.3.0
2021-02-24 19:02:24 +00:00

28 lines
598 B
Makefile

# renovate: datasource=github-releases depName=ViViDboarder/bitwarden_rs_ldap
export BUILD_VERSION ?= v0.3.0
export DEBIAN_FRONTEND ?= noninteractive
export LANG ?= C.UTF-8
export TZ ?= UTC
SRC := src
.PHONY: all
all: build
.PHONY: build
build: build-src build-bin
.PHONY: build-src
build-src:
mkdir -p $(SRC); \
curl -sSL "https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$${BUILD_VERSION}.tar.gz" | tar xz -C $(SRC) --strip-components=1
.PHONY: build-bin
build-bin:
rustup set profile minimal && \
cd $(SRC) && \
cargo build -j 8 --release
.PHONY: clean
clean:
rm -rf $(SRC)