Skip to content

Commit bb5ad85

Browse files
Merge pull request #1252 from NHSDigital/develop
APIM-R 1.27 Cut
2 parents 4440376 + 83f9911 commit bb5ad85

16 files changed

+1331
-3390
lines changed

Makefile

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,27 @@ test:
6464
setup-environment:
6565
@if [ -e /usr/bin/yum ]; then \
6666
scripts/rhel_setup_environment.sh; \
67+
elif [ -e /opt/homebrew/bin/brew ]; then \
68+
scripts/macos_setup_environment.sh; \
6769
elif [ -e /usr/local/bin/brew ]; then \
68-
echo "TODO is Mac"; \
70+
echo "Intel based Macs are not currently supported."; \
71+
elif [ -e /usr/bin/apt ]; then \
72+
scripts/ubuntu_setup_environment.sh; \
6973
else \
70-
echo "Environment not Mac or RHEL"; \
74+
echo "Environment not Mac or RHEL or Ubuntu"; \
7175
fi
7276

7377
clean-environment:
7478
@if [ -e /usr/bin/yum ]; then \
7579
scripts/rhel_clean_environment.sh; \
80+
elif [ -e /opt/homebrew/bin/brew ]; then \
81+
scripts/macos_clean_environment.sh; \
7682
elif [ -e /usr/local/bin/brew ]; then \
77-
echo "TODO is Mac"; \
83+
echo "Intel based Macs are not currently supported."; \
84+
elif [ -e /usr/bin/apt ]; then \
85+
scripts/ubuntu_clean_environment.sh; \
7886
else \
79-
echo "Environment not Mac or RHEL"; \
87+
echo "Environment not Mac or RHEL or Ubuntu"; \
8088
fi
8189

8290
.PHONY: setup-environment clean-environment sandbox

0 commit comments

Comments
 (0)