#10 Update Makefiles
Some checks failed
DRB Build Tests / drb_build_and_test (push) Failing after 2m26s
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user