Skip to content

Commit

Permalink
build: update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sn1f3rt committed Dec 20, 2024
1 parent b4bd95f commit 768806a
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,33 @@ else
endif

env:
uv venv

rmenv:
rm -rf .venv

install:
uv sync --no-dev

dev:
uv sync --all-extras
install-dev:
uv sync --extra dev

format:
ruff check --select I --fix .
ruff format .
install-extras:
uv sync --all-extras --no-dev

run:
uv run launcher.py

format:
ruff check --select I --fix .
ruff format .

clean:
$(RM) $(RM_FLAGS) logs$(SEP)*.log $(RM_FLAGS_ALL)

clean-all:
$(RM) $(RM_FLAGS) logs$(SEP)*.log $(RM_FLAGS_ALL)
$(RM) $(RM_FLAGS) logs$(SEP)errors$(SEP)*.log $(RM_FLAGS_ALL)

.PHONY: env dev format run clean clean-all
.PHONY: env rmenv install install-dev install-extras run format clean clean-all
.DEFAULT_GOAL := run

0 comments on commit 768806a

Please sign in to comment.