Skip to content

Commit

Permalink
build: make install
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinfall committed Feb 2, 2025
1 parent b441f4a commit 04cfc46
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ PYTHON = python
PIP = pip

# Dependencies & scripts
REQUIREMENTS = requirements.txt
GENERATOR = vndb_calendar.py

install: $(VENV) ## install dependencies in venv
Expand All @@ -16,7 +15,7 @@ $(VENV):
@echo "Setting up venv..."
${PYTHON} -m venv $(VENV)
source $(VENV)/bin/activate; \
$(PIP) install -r $(REQUIREMENTS)
$(PIP) install .

run: ## build my custom calendar
$(PYTHON) ${GENERATOR}
Expand All @@ -30,11 +29,10 @@ zh: ## build VNDB calendar with zh-Hans/zh-Hant & ja releases
clean: ## clean up outputs
-rm output/*

uninstall: ## uninstall venv & clean cache
uninstall: ## uninstall venv
@echo "Cleaning up..."
@deactivate || true
rm -rf $(VENV)
pip cache purge || true

## generate changelog (only run after git tag)
changelog:
Expand Down

0 comments on commit 04cfc46

Please sign in to comment.