Skip to content

Commit eb63997

Browse files
benfredbkarsin
authored andcommitted
Fix rust publishing step (rapidsai#984)
In rapidsai#816 we started to vendor rapids_config.cmake - but this broke the symlinks that rust/java use to build. Fix the symlinks to point to the new location, and add a precommit hook to check that symlinks are valid to prevent this from happening in the future
1 parent 4c9a17e commit eb63997

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ repos:
77
- id: check-json
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
10+
- id: check-symlinks
1011
- repo: https://github.com/PyCQA/isort
1112
rev: 5.12.0
1213
hooks:

java/internal/rapids_config.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../rapids_config.cmake
1+
../../cmake/rapids_config.cmake

rust/cuvs-sys/rapids_config.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../rapids_config.cmake
1+
../../cmake/rapids_config.cmake

0 commit comments

Comments
 (0)