Make 'missing jekyll' a warning instead

This commit is contained in:
Rico Sta. Cruz 2019-03-27 19:22:13 +08:00
parent c0835bcb29
commit aed89335d9
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 2 additions and 3 deletions

View File

@ -26,11 +26,10 @@ ensure-bin:
echo "---"; \
exit 1; \
fi
@if ! bundle show jekyll &>/dev/null; then \
@if ! which jekyll &>/dev/null; then \
echo "---"; \
echo "Error: Jekyll not found, you may need to run '[docker-compose run --rm web] bundle install'."; \
echo "Warning: Jekyll not found, you may need to run '[docker-compose run --rm web] bundle install'."; \
echo "---"; \
exit 1; \
fi
dev: ensure-bin ## Starts development server