Skip to content

Commit

Permalink
Merge pull request #4 from hosekadam/fix-makefile-mark-targets
Browse files Browse the repository at this point in the history
Fix Makefile targets
  • Loading branch information
andywaltlova authored Nov 13, 2024
2 parents 2e9dffb + 24f39ac commit bcddc33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
venv
__pycache__
.ruff_cache
.install
.venv
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,23 @@ PROJECT_DIR=$(shell pwd)

default: install

venv:
.venv:
python3 -m venv $(VENV_DIR)
touch $@

install:
.install:
$(PIP) install -r requirements.txt
$(PIP) install -r requirements-dev.txt
touch $@

run:
install: .venv .install

run: install
$(UVICORN) app.main:app --reload --port 8081

clean:
rm -rf $(VENV_DIR)
rm -rf .install .venv

lint:
@echo "Running lint checks..."
Expand Down

0 comments on commit bcddc33

Please sign in to comment.