Skip to content

Commit

Permalink
Update the Justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Feb 28, 2024
1 parent 31387d7 commit 25b9cc1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]

PYTHON_BINARY := "python3.11"
VIRTUAL_ENV := "venv"
VIRTUAL_BIN := VIRTUAL_ENV / "bin"
PROJECT_NAME := "project_name"
VIRTUAL_BIN := VIRTUAL_ENV / "Scripts"
PROJECT_NAME := "libretro.py"
TEST_DIR := "test"

# Scans the project for security vulnerabilities
Expand Down Expand Up @@ -44,7 +44,7 @@ lint-fix: black isort
# Install the project locally
install:
{{PYTHON_BINARY}} -m venv {{VIRTUAL_ENV}}
{{VIRTUAL_BIN}}/pip install -e .
{{VIRTUAL_BIN}}/pip install -v -e .

# Sorts imports throughout the project
isort:
Expand All @@ -61,3 +61,8 @@ mypy:
# Test the project
test:
{{VIRTUAL_BIN}}/pytest


# Install the project locally
venv:
{{PYTHON_BINARY}} -m venv {{VIRTUAL_ENV}}

0 comments on commit 25b9cc1

Please sign in to comment.