X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/be6fd3eca50b6e2676edee1f6900750c0923e0be..862a1dd6547225227b5d2dc403cf0f54626be5dd:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 516f47e..07cc42f 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ build: prepare # cross compiling in the CI, and I know what I'm running, but ifeq ($(host_architecture), x86_64-unknown-linux-gnu) ifeq ($(target), aarch64-unknown-linux-gnu) - LD_LIBRARY_PATH=/usr/local/aarch64-linux-gnu/lib:${LD_LIBRARY_PATH} + LD_LIBRARY_PATH=/usr/local/aarch64-linux-gnu/lib:${LD_LIBRARY_PATH} endif endif @export $$(cat .env | xargs) > /dev/null 2>&1 && cargo build --profile $(profile) --target $(target) @@ -73,9 +73,9 @@ endif ci: ifeq ($(GIT_REF),refs/heads/main) - $(MAKE) -e profile=release -e channel=unstable package + $(MAKE) -e profile=release -e channel=unstable $(target) else ifneq (,$(findstring refs/tags/,$(GIT_REF))) - $(MAKE) -e profile=release -e channel=$(subst refs/tags/,,$(GIT_REF)) package + $(MAKE) -e profile=release -e channel=$(subst refs/tags/,,$(GIT_REF)) $(target) endif .PHONY: default build $(architectures) rpm package prepare set_rust ci release