Skip to content

Commit

Permalink
fix: DRY the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Jul 24, 2024
1 parent ad180b1 commit 80b2d84
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ CONDA_ENV_HASH = .abi-conda/$(shell cat conda.yml | $(MD5) | sed 's/ .*//g').has
$(CONDA_ENV_HASH): .abi-conda
@ echo "\n📦 conda.yml drift detected. Updating conda environment ...\n\n"
@ make conda-env-update && \
(rm .abi-conda/*.hash || true) && \
touch $(CONDA_ENV_HASH) && \
make conda-update-hash && \
echo "\n\n✅ conda environment updated.\n\n"

conda-update-hash:
Expand Down Expand Up @@ -120,8 +119,5 @@ windows-install-conda:
# Docker
build: build.linux.x86_64

# build.linux.aarch64:
# docker build . -t abi -f Dockerfile.linux.aarch64 --platform linux/aarch64

build.linux.x86_64:
docker build . -t abi -f Dockerfile.linux.x86_64 --platform linux/amd64

0 comments on commit 80b2d84

Please sign in to comment.