2019-05-29 17:41:12 +02:00
|
|
|
# Please take extra care not to add rules that will make tracked files ignored.
|
|
|
|
# To test that, run `git ls-files -i --exclude-standard`.
|
|
|
|
# To check why a specific file is ignored, run `git check-ignore -v <filepath>`.
|
|
|
|
|
|
|
|
# === Rule for dotfiles ===
|
|
|
|
# Ignore all dotfiles.
|
2016-08-08 18:55:16 +02:00
|
|
|
.*
|
2019-05-29 17:41:12 +02:00
|
|
|
# Exclude specific dotfiles that we want to track.
|
2016-08-08 18:55:16 +02:00
|
|
|
!deps/**/.*
|
|
|
|
!test/fixtures/**/.*
|
2018-07-13 14:19:31 +02:00
|
|
|
!.clang-format
|
2016-08-08 18:55:16 +02:00
|
|
|
!.editorconfig
|
|
|
|
!.eslintignore
|
2018-02-04 20:38:18 +01:00
|
|
|
!.eslintrc.js
|
2019-03-25 03:58:29 +01:00
|
|
|
!.flake8
|
2016-08-08 18:55:16 +02:00
|
|
|
!.gitattributes
|
|
|
|
!.github
|
|
|
|
!.gitignore
|
|
|
|
!.gitkeep
|
|
|
|
!.mailmap
|
2017-09-05 08:33:27 +02:00
|
|
|
!.nycrc
|
2018-09-29 21:31:04 +02:00
|
|
|
!.eslintrc.yaml
|
2019-04-05 14:31:47 +02:00
|
|
|
!.cpplint
|
2016-08-08 18:55:16 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for root dir ===
|
|
|
|
/core
|
|
|
|
/vgcore.*
|
|
|
|
/v8*.log
|
|
|
|
/perf.data
|
|
|
|
/perf.data.old
|
|
|
|
/tags
|
|
|
|
/doc/api.xml
|
|
|
|
/node
|
|
|
|
/node_g
|
2020-01-22 04:38:11 +01:00
|
|
|
/gon-config.json
|
2019-05-29 17:41:12 +02:00
|
|
|
/*.exe
|
|
|
|
/*.swp
|
2011-08-08 21:11:48 +02:00
|
|
|
/out
|
2019-12-11 06:51:23 +01:00
|
|
|
/*.msi
|
|
|
|
/*.wixpdb
|
2019-05-29 17:41:12 +02:00
|
|
|
|
|
|
|
# === Rules for artifacts of `./configure` ===
|
|
|
|
/icu_config.gypi
|
|
|
|
/config.gypi
|
|
|
|
/config.status
|
|
|
|
/config_fips.gypi
|
2011-08-07 07:11:21 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for MSVS artifacts ===
|
2020-01-29 13:01:09 +01:00
|
|
|
Debug/
|
|
|
|
Release/
|
2011-08-07 07:11:21 +02:00
|
|
|
*.sln
|
|
|
|
*.suo
|
2019-05-29 17:41:12 +02:00
|
|
|
*.vcxproj*
|
2011-08-07 07:11:21 +02:00
|
|
|
UpgradeLog*.XML
|
|
|
|
_UpgradeReport_Files/
|
|
|
|
*.sdf
|
|
|
|
*.opensdf
|
2019-05-29 17:41:12 +02:00
|
|
|
*.VC.*
|
|
|
|
*.wixobj
|
|
|
|
/tools/msvs/genfiles/
|
|
|
|
/npm.wxs
|
2019-12-11 06:51:23 +01:00
|
|
|
/tools/msvs/msi/Release/
|
|
|
|
/tools/msvs/msi/obj/
|
|
|
|
/tools/msvs/msi/x64/
|
2019-05-29 17:41:12 +02:00
|
|
|
# Exclude MSVS files used for .msi file generation
|
|
|
|
!tools/msvs/msi/custom_actions.vcxproj
|
|
|
|
!tools/msvs/msi/nodemsi.sln
|
2011-08-08 17:55:39 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for GYP artifacts ===
|
2011-08-08 21:11:48 +02:00
|
|
|
*-nodegyp*
|
2019-05-29 17:41:12 +02:00
|
|
|
/gyp-*-tool
|
2018-01-23 11:49:25 +01:00
|
|
|
/test/addons/??_*/
|
2019-05-29 17:41:12 +02:00
|
|
|
/*.mk
|
2013-01-17 07:29:48 +01:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for other build artifacts ===
|
|
|
|
/email.md
|
|
|
|
/deps/v8-*
|
|
|
|
/deps/icu
|
|
|
|
/deps/icu*.zip
|
|
|
|
/deps/icu*.tgz
|
|
|
|
/deps/icu-tmp
|
|
|
|
./node_modules
|
|
|
|
/android-toolchain/
|
2013-01-17 07:29:48 +01:00
|
|
|
# generated by gyp on Windows
|
2019-05-29 17:41:12 +02:00
|
|
|
/deps/openssl/openssl.props
|
|
|
|
/deps/openssl/openssl.targets
|
|
|
|
/deps/openssl/openssl.xml
|
2013-12-03 05:59:34 +01:00
|
|
|
# generated by gyp on android
|
|
|
|
/*.target.mk
|
|
|
|
/*.host.mk
|
2019-05-29 17:41:12 +02:00
|
|
|
/deps/openssl/openssl.target.mk
|
|
|
|
/deps/zlib/zlib.target.mk
|
2015-09-22 16:24:16 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for release artifacts ===
|
2015-01-13 02:51:34 +01:00
|
|
|
/*.tar.*
|
2017-09-04 12:07:56 +02:00
|
|
|
/*.pkg
|
2013-08-22 01:59:15 +02:00
|
|
|
/SHASUMS*.txt*
|
2013-02-13 21:19:08 +01:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for `node_modules` ===
|
|
|
|
!**/node_modules/**
|
|
|
|
/node_modules
|
|
|
|
/tools/doc/node_modules
|
|
|
|
/tools/clang-format/node_modules
|
2018-08-24 11:30:45 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for test artifacts ===
|
|
|
|
/*.tap
|
2019-04-14 23:24:22 +02:00
|
|
|
/*.xml
|
2019-05-29 17:41:12 +02:00
|
|
|
/node_trace.*.log
|
|
|
|
# coverage related
|
|
|
|
/gcovr
|
|
|
|
/build
|
2019-07-10 18:54:13 +02:00
|
|
|
/coverage
|
2015-04-29 19:47:04 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for XCode artifacts ===
|
2015-04-29 19:47:04 +02:00
|
|
|
*.xcodeproj
|
|
|
|
*.xcworkspace
|
2019-05-29 17:41:12 +02:00
|
|
|
*.pbxproj
|
2017-06-05 16:25:22 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Rules for files in `/deps` ===
|
|
|
|
# Exclude all files in the vendored `npm`.
|
|
|
|
!/deps/npm/node_modules
|
|
|
|
# These are not needed and causes issues for distro packagers.
|
|
|
|
/deps/npm/node_modules/.bin/
|
|
|
|
# Respect V8's .gitignore
|
2018-01-05 23:24:10 +01:00
|
|
|
!deps/v8/**
|
2019-05-29 17:41:12 +02:00
|
|
|
# Ignore the libuv book and GitHub templates
|
|
|
|
/deps/uv/.github/
|
|
|
|
/deps/uv/docs/code/
|
|
|
|
/deps/uv/docs/src/guide/
|
2019-06-06 12:12:25 +02:00
|
|
|
# Ignore dependencies fetched by deps/v8/tools/node/fetch_deps.py
|
|
|
|
/deps/.cipd
|
2018-10-12 19:48:13 +02:00
|
|
|
|
2019-05-29 17:41:12 +02:00
|
|
|
# === Global Rules ===
|
|
|
|
# Keep last to avoid being excluded
|
|
|
|
*.pyc
|
|
|
|
__pycache__
|
2018-10-12 19:48:13 +02:00
|
|
|
.DS_Store
|
2019-07-26 16:37:16 +02:00
|
|
|
*~
|