Skip to content

Commit

Permalink
make .gitignore dynamic based on selected backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Naman-Priyadarshi committed Feb 24, 2024
1 parent c21bd96 commit e5abc67
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions src/scicookie/{{cookiecutter.project_slug}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,24 @@ ipython_config.py
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml
{%- if cookiecutter.build_system == "poetry" %}
# poetry build system
poetry.lock

{%- elif cookiecutter.build_system == "mesonpy" %}
# meson build system
meson.build
meson_options.txt

{%- elif cookiecutter.build_system == "pdm" %}
# pdm build system
pdm.lock

{%- elif cookiecutter.build_system == "maturin" %}
# maturin build system
Cargo.lock

{%- endif %}

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
Expand Down

0 comments on commit e5abc67

Please sign in to comment.