#10 Update Makefiles
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m26s

- Removed the client_dir var as it's not needed
This commit is contained in:
Logan Cusano
2024-04-21 01:31:04 -04:00
parent fd9b6d9d1c
commit 7b91667414

View File

@@ -1,5 +1,4 @@
# Define variables # Define variables
CLIENT_DIR := client
OP25_DIR := op25 OP25_DIR := op25
PDAB_DIR := discordAudioBot/pdab PDAB_DIR := discordAudioBot/pdab
@@ -16,7 +15,7 @@ pre_flight_checks:
exit 1; \ exit 1; \
fi fi
# Check if the working directory is 'client' and contains package.json # Check if the working directory is 'client' and contains package.json
if [ ! -f "$(shell pwd)/$(CLIENT_DIR)/package.json" ]; then \ if [ ! -f "$(shell pwd)/package.json" ]; then \
echo "Error: Please make sure the working directory is 'client' and contains package.json."; \ echo "Error: Please make sure the working directory is 'client' and contains package.json."; \
exit 1; \ exit 1; \
fi fi