Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ofou committed Mar 29, 2024
1 parent db63b2c commit c156c25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ venv:
@echo "🐍 Creating a safe place for a Python... "
mkdir -p essays
python3 -m venv .venv
$(VENV_ACTIVATE) && pip install --upgrade pip
$(VENV_ACTIVATE) && pip install -r requirements.txt
$(VENV_ACTIVATE) && pip3 install --upgrade pip
$(VENV_ACTIVATE) && pip3 install -r requirements.txt

fetch:
@echo "🧠 Downloading Paul Graham mind... "
Expand All @@ -49,7 +49,7 @@ pdf: epub

dependencies:
if [ "$(UNAME_S)" = "Darwin" ]; then \
$(PKG_MANAGER) install python3 pandoc calibre || true; \
$(PKG_MANAGER) install [email protected] pandoc calibre || true; \
else \
sudo apt update && sudo apt install -y python3-pip python3-venv pandoc calibre; \
fi
Expand All @@ -59,4 +59,4 @@ wordcount:
@echo "Total words: "
@cat essays/*.md | wc -w
@echo "Total articles: "
@ls essays/*.md | wc -l
@ls essays/*.md | wc -l

0 comments on commit c156c25

Please sign in to comment.