Skip to content

Commit

Permalink
fix: makefile jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Fengping authored and Zhang Fengping committed Nov 20, 2024
1 parent 8b04fa6 commit 46d777e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ deepclean: clean

# Install the package in editable mode.
install:
pdm sync --prod
pdm install --prod

# Install the package in editable mode with specific optional dependencies.
dev-%: install
pdm sync --lockfile pdm.dev.lock --no-default --dev --group $*
pdm install --lockfile pdm.dev.lock --no-default --dev --group $*

# Prepare the development environment.
# Install the package in editable mode with all optional dependencies and pre-commit hook.
dev: install
pdm sync --lockfile pdm.dev.lock
pdm install --lockfile pdm.dev.lock
if [ "$(CI)" != "true" ] && command -v pre-commit > /dev/null 2>&1; then pre-commit install; fi

# Install standalone tools
Expand Down

0 comments on commit 46d777e

Please sign in to comment.