updated weekly review
This commit is contained in:
10
Makefile
10
Makefile
@@ -4,7 +4,7 @@ VENV := .venv
|
||||
PY := $(VENV)/bin/python
|
||||
PIP := $(VENV)/bin/pip
|
||||
|
||||
all: clean build search
|
||||
all: clean-output build search clean-venv
|
||||
|
||||
build:
|
||||
@echo "Building project..."
|
||||
@@ -19,9 +19,12 @@ $(VENV):
|
||||
python3 -m venv $(VENV)
|
||||
$(PIP) install -r requirements.txt
|
||||
|
||||
clean:
|
||||
clean-output:
|
||||
@echo "Cleaning output directory..."
|
||||
rm -rf output/
|
||||
|
||||
clean-venv:
|
||||
@echo "Cleaning virtual environment..."
|
||||
rm -rf $(VENV)
|
||||
|
||||
norm:
|
||||
@@ -33,7 +36,8 @@ help:
|
||||
@echo "Available targets:"
|
||||
@echo " make - Full rebuild"
|
||||
@echo " make build - Rebuild the output directory"
|
||||
@echo " make clean - Remove output directory"
|
||||
@echo " make clean-output - Remove output directory"
|
||||
@echo " make clean-venv - Remove venv directory"
|
||||
@echo " make norm - Move all files that end with ~ to the backup folder"
|
||||
@echo " make search - creates the search index"
|
||||
@echo " make help - Show this help message"
|
||||
|
||||
Reference in New Issue
Block a user