Skip to content

Commit

Permalink
Updated build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewssobral committed Mar 16, 2024
1 parent 4bab70e commit 2e90e25
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
*
# Except these files
!.gitignore
!.uninstall-from-cmake.sh
!uninstall-from-cmake.sh
!clean.sh
21 changes: 21 additions & 0 deletions build/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# Navigating to the script's directory (if needed)
# cd "$(dirname "$0")"

# Exclude files from deletion
excludes=( ".gitignore" "uninstall-from-cmake.sh" "clean.sh" )

# Create the find command excluding specified files
find_command="find . -mindepth 1"
for exclude in "${excludes[@]}"; do
find_command+=" ! -name $exclude"
done

# Append action to delete
find_command+=" -delete"

# Execute the command
eval $find_command

echo "Directory cleaned, except for specified exclusions."
File renamed without changes.
2 changes: 1 addition & 1 deletion modules/pybind11
Submodule pybind11 updated 82 files
+17 −73 .github/workflows/ci.yml
+5 −13 .github/workflows/configure.yml
+0 −3 .github/workflows/format.yml
+0 −5 .github/workflows/labeler.yml
+4 −8 .github/workflows/pip.yml
+37 −39 .github/workflows/upstream.yml
+50 −54 .pre-commit-config.yaml
+5 −7 CMakeLists.txt
+1 −1 MANIFEST.in
+1 −1 README.rst
+0 −13 SECURITY.md
+3 −7 docs/advanced/cast/strings.rst
+1 −1 docs/advanced/embedding.rst
+3 −133 docs/changelog.rst
+0 −14 docs/classes.rst
+3 −6 docs/compiling.rst
+1 −2 docs/faq.rst
+4 −6 docs/release.rst
+0 −14 docs/upgrade.rst
+2 −14 include/pybind11/attr.h
+1 −16 include/pybind11/buffer_info.h
+3 −35 include/pybind11/cast.h
+8 −27 include/pybind11/detail/common.h
+0 −13 include/pybind11/detail/descr.h
+2 −2 include/pybind11/detail/init.h
+9 −51 include/pybind11/detail/internals.h
+26 −184 include/pybind11/detail/type_caster_base.h
+0 −9 include/pybind11/eigen/common.h
+0 −13 include/pybind11/eigen/matrix.h
+0 −5 include/pybind11/eigen/tensor.h
+6 −4 include/pybind11/embed.h
+6 −12 include/pybind11/numpy.h
+6 −14 include/pybind11/pybind11.h
+29 −99 include/pybind11/pytypes.h
+4 −4 include/pybind11/stl.h
+3 −5 include/pybind11/stl_bind.h
+0 −61 include/pybind11/type_caster_pyobject_ptr.h
+1 −1 pybind11/_version.py
+9 −4 pybind11/setup_helpers.py
+8 −11 pyproject.toml
+0 −1 setup.cfg
+1 −1 setup.py
+7 −8 tests/CMakeLists.txt
+5 −4 tests/conftest.py
+0 −3 tests/extra_python_package/test_files.py
+1 −1 tests/requirements.txt
+0 −35 tests/test_buffers.cpp
+0 −57 tests/test_buffers.py
+1 −1 tests/test_class.cpp
+3 −0 tests/test_cmake_build/CMakeLists.txt
+4 −4 tests/test_cmake_build/installed_embed/CMakeLists.txt
+4 −4 tests/test_cmake_build/installed_function/CMakeLists.txt
+4 −4 tests/test_cmake_build/installed_target/CMakeLists.txt
+4 −4 tests/test_cmake_build/subdirectory_embed/CMakeLists.txt
+4 −4 tests/test_cmake_build/subdirectory_function/CMakeLists.txt
+4 −4 tests/test_cmake_build/subdirectory_target/CMakeLists.txt
+0 −3 tests/test_constants_and_functions.cpp
+0 −4 tests/test_constants_and_functions.py
+0 −238 tests/test_copy_move.cpp
+11 −11 tests/test_embed/test_interpreter.cpp
+3 −28 tests/test_exceptions.py
+29 −29 tests/test_iostream.py
+0 −34 tests/test_methods_and_attributes.cpp
+0 −9 tests/test_methods_and_attributes.py
+1 −0 tests/test_modules.py
+0 −26 tests/test_numpy_array.cpp
+0 −71 tests/test_numpy_array.py
+0 −9 tests/test_pytypes.cpp
+1 −14 tests/test_pytypes.py
+3 −6 tests/test_stl.py
+0 −44 tests/test_stl_binders.cpp
+0 −18 tests/test_stl_binders.py
+0 −130 tests/test_type_caster_pyobject_ptr.cpp
+0 −104 tests/test_type_caster_pyobject_ptr.py
+0 −38 tests/test_unnamed_namespace_a.cpp
+0 −34 tests/test_unnamed_namespace_a.py
+0 −13 tests/test_unnamed_namespace_b.cpp
+0 −5 tests/test_unnamed_namespace_b.py
+0 −54 tests/test_vector_unique_ptr_member.cpp
+0 −14 tests/test_vector_unique_ptr_member.py
+8 −18 tools/pybind11Common.cmake
+1 −3 tools/pybind11Config.cmake.in

0 comments on commit 2e90e25

Please sign in to comment.