]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/CMakeLists.txt: exclude files not used at runtime 41353/head
authorDuncan Bellamy <dunk@denkimushi.com>
Sat, 15 May 2021 10:05:48 +0000 (11:05 +0100)
committerDuncan Bellamy <dunk@denkimushi.com>
Wed, 19 May 2021 22:28:13 +0000 (23:28 +0100)
Exclude node_modules so it is not installed with make install
Exclude cypress files and dashboard .(dot) files also

Fixes: https://tracker.ceph.com/issues/50827
Signed-off-by: Duncan Bellamy <dunk@denkimushi.com>
src/pybind/mgr/CMakeLists.txt

index 032857c09c048acfba5e93ed1ec78dc6cbe673a1..b68daf925892ae09d5c250c86c3d88108f74c85d 100644 (file)
@@ -22,4 +22,12 @@ install(DIRECTORY
   REGEX "rook/rook-client-python.*" EXCLUDE
   REGEX "osd_perf_query/.*" EXCLUDE
   REGEX "tox.ini" EXCLUDE
-  REGEX "requirements.txt" EXCLUDE)
+  REGEX "requirements.*\.txt" EXCLUDE
+  REGEX "constraints.*\.txt" EXCLUDE
+  REGEX "node_modules" EXCLUDE
+  REGEX "cypress.*" EXCLUDE
+  REGEX "\.coveragerc" EXCLUDE
+  REGEX "\.editorconfig" EXCLUDE
+  REGEX "\..*lintrc" EXCLUDE
+  REGEX "\.browserslistrc" EXCLUDE
+  REGEX "\.prettier*" EXCLUDE)