Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config files for direnv and codespell #66

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[codespell]
builtin = clear,rare,en-GB_to_en-US,names,informal,code
check-hidden =
skip = ./.git,./out/*,./.direnv/*,./cmake-build-*,./build/*,./prefix/*,./conan/*,./stagedir/*,*.log,.*.swp,*~,*.bak
quiet-level = 2
18 changes: 18 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Define environment in this dir only with direnv.
# On first usage enter: direnv allow
# man direnv for more infos
#
# https://direnv.net
#
# see too https://cmake.org/cmake/help/latest/manual/cmake-env-variables.7.html
export CMAKE_PREFIX_PATH=${PWD}/out/install
export CMAKE_EXPORT_COMPILE_COMMANDS=YES
export CTEST_OUTPUT_ON_FAILURE=YES

export CPM_USE_LOCAL_PACKAGES=NO
export CPM_SOURCE_CACHE=${PWD}/.cache/CPM

export LD_LIBRARY_PATH=${CMAKE_PREFIX_PATH}/lib
export BUILD_DIR=${PWD}/out/build

layout python3
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CMakeUserPresets.json
# IDE files
.vs/
.idea/
.direnv/
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
Expand Down
14 changes: 14 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# =============================================================================
# PYTHON PACKAGES (PIP)
# =============================================================================
# USE (python3): pip3 install -U -r <THIS_FILE_NAME>
# =============================================================================

codespell>=2.2.5
builddriver>=0.9.0
bumpversion>=0.6.0
cmake-format>=0.6.13
cmake>=3.27
gcovr>=5.2
ninja>=1.11
yamllint>=1.26
Loading