Browse Source

feat: makefile

Signed-off-by: QuentinN42 <quentin@lieumont.fr>
master
QuentinN42 7 months ago
parent
commit
901c3eda41
Signed by untrusted user: number42 GPG Key ID: 2CD7D563712B3A50
  1. 1
      .gitignore
  2. 14
      Makefile
  3. BIN
      builder/__pycache__/__main__.cpython-310.pyc

1
.gitignore

@ -1,2 +1,3 @@
build
__pycache__
.venv

14
Makefile

@ -1,10 +1,10 @@
all: build/main.css build/index.html
.PHONY: setup build
build/main.css: build builder/templates/main.css builder/__main__.py
python3.10 -m builder
build:
bash -c 'source ${PWD}/.venv/bin/activate && python3.10 -m builder'
build/index.html: build builder/templates/index.html config.json builder/__main__.py
python3.10 -m builder
all: setup build
build:
mkdir build
setup:
python3.10 -m venv .venv
bash -c 'source ${PWD}/.venv/bin/activate && python3.10 -m pip install --upgrade pip && python3.10 -m pip install -r requirements.txt'

BIN
builder/__pycache__/__main__.cpython-310.pyc

Binary file not shown.
Loading…
Cancel
Save