فهرست منبع

Merge pull request #19550 from gero3/AddIgnore

CI: Add ignores for the command npm install --prefix test
Mr.doob 5 سال پیش
والد
کامیت
fcca64f8d5
1فایلهای تغییر یافته به همراه14 افزوده شده و 1 حذف شده
  1. 14 1
      .gitignore

+ 14 - 1
.gitignore

@@ -6,5 +6,18 @@
 npm-debug.log
 .jshintrc
 .vs/
-**/node_modules
+
+# The command'npm install --prefix test' adds files in the test folder (https://docs.npmjs.com/configuring-npm/folders.html#executables).
+# There are 2 kinds of files, those without extension and those with cmd extension.
+# To ignore files without a extension, following procedure is nessecary:
+# - ignore all files in the test folder
+# - unignore all files in subdirectories of the test folder
+# - unignore all files with an extension in the test folder
+test/*
+!test/*/
+!test/*.*
+test/*.cmd
 test/unit/build
+
+
+**/node_modules