-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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... " | ||
|
@@ -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 | ||
|
@@ -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 |