Skip to content

Commit 1db6a7c

Browse files
authored
Merge pull request #4848 from andreww2012/fix/move-trailing-comments
fix: avoid using trailing comments as gitignore doesn't support them
2 parents c62fbb7 + 14d5ead commit 1db6a7c

3 files changed

Lines changed: 86 additions & 43 deletions

File tree

Global/JetBrains.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ atlassian-ide-plugin.xml
6363

6464
# SonarLint plugin
6565
.idea/sonarlint/
66-
.idea/sonarlint.xml # see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119
66+
# see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119
67+
.idea/sonarlint.xml
6768

6869
# Crashlytics plugin (for Android Studio and IntelliJ)
6970
com_crashlytics_export_strings.xml

HIP.gitignore

Lines changed: 70 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,81 @@
55
# Official AMD ROCm HIP .gitignore: https://github.com/ROCm/hip/blob/amd-staging/.gitignore
66

77
# 1. Build directories and files
8-
/build/ # common build directory
9-
/CMakeFiles/ # CMake internal files
10-
/CMakeCache.txt # CMake cache file
11-
/Makefile # autogenerated Makefile
12-
/cmake_install.cmake # install script
13-
/install_manifest.txt # install manifest list
14-
*.ninja-dep # Ninja dependency files
15-
*.ninja_log # Ninja log files
16-
meson-logs/ # Meson log directory
8+
# common build directory
9+
/build/
10+
# CMake internal files
11+
/CMakeFiles/
12+
# CMake cache file
13+
/CMakeCache.txt
14+
# autogenerated Makefile
15+
/Makefile
16+
# install script
17+
/cmake_install.cmake
18+
# install manifest list
19+
/install_manifest.txt
20+
# Ninja dependency files
21+
*.ninja-dep
22+
# Ninja log files
23+
*.ninja_log
24+
# Meson log directory
25+
meson-logs/
1726

1827
# 2. Compilation outputs and intermediates
19-
*.o # object files
20-
*.obj # Windows object files
21-
*.so # shared libraries
22-
*.a # static librarie
23-
*.d # dependency files
24-
*.gch # precompiled headers
25-
*.ii # preprocessed output
26-
*.ii.cpp # C++ preprocessed output
27-
*.out # generic executable outputs
28-
*.exe # Windows executables
28+
# object files
29+
*.o
30+
# Windows object files
31+
*.obj
32+
# shared libraries
33+
*.so
34+
# static librarie
35+
*.a
36+
# dependency files
37+
*.d
38+
# precompiled headers
39+
*.gch
40+
# preprocessed output
41+
*.ii
42+
# C++ preprocessed output
43+
*.ii.cpp
44+
# generic executable outputs
45+
*.out
46+
# Windows executables
47+
*.exe
2948

3049
# 3. HIP/ROCm specific binaries and intermediates
31-
*.hsaco # ROCm compiled binary
32-
*.s # assembly output
33-
*.kernels.cpp # autogenerated kernel sources
34-
*.hip.cpp.* # hipcc intermediate outputs
50+
# ROCm compiled binary
51+
*.hsaco
52+
# assembly output
53+
*.s
54+
# autogenerated kernel sources
55+
*.kernels.cpp
56+
# hipcc intermediate outputs
57+
*.hip.cpp.*
3558

3659
# 4. Official sample binaries and tutorial outputs
37-
bin/hipInfo # sample binary
38-
bin/hipBusBandwidth # sample binary
39-
bin/hipDispatchLatency # sample binary
40-
bin/hipify-clang # sample tool
41-
samples/**/*.out # tutorial outputs
42-
samples/**/*.code # ISA/code dumps
43-
samples/**/*.hsaco # compiled binaries
44-
samples/**/*.co # kernel code outputs
60+
# sample binary
61+
bin/hipInfo
62+
# sample binary
63+
bin/hipBusBandwidth
64+
# sample binary
65+
bin/hipDispatchLatency
66+
# sample tool
67+
bin/hipify-clang
68+
# tutorial outputs
69+
samples/**/*.out
70+
# ISA/code dumps
71+
samples/**/*.code
72+
# compiled binaries
73+
samples/**/*.hsaco
74+
# kernel code outputs
75+
samples/**/*.co
4576

4677
# 5. Tags, logs and test outputs
47-
tags # ctags index
48-
*.log # log files
49-
/tests_output/ # custom test output directory
50-
/samples_output/ # custom sample output directory
78+
# ctags index
79+
tags
80+
# log files
81+
*.log
82+
# custom test output directory
83+
/tests_output/
84+
# custom sample output directory
85+
/samples_output/

community/JavaScript/Expo.gitignore

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,22 @@
1111
node_modules/
1212

1313
# Expo local state and caches
14-
.expo/ # runtime state (Metro bundler, dev-client data, tunnels)
15-
.expo-shared/ # shared project settings (app.json edits, etc.)
14+
# runtime state (Metro bundler, dev-client data, tunnels)
15+
.expo/
16+
# shared project settings (app.json edits, etc.)
17+
.expo-shared/
1618

1719
# Metro bundler caches/logs
18-
*.expo # generic Expo temp files
19-
*.tunnel # Expo DevTools tunnels
20-
*.cache # Metro cache folder
21-
*.tmp # temp files created during bundling
22-
*.log # build or Metro logs
20+
# generic Expo temp files
21+
*.expo
22+
# Expo DevTools tunnels
23+
*.tunnel
24+
# Metro cache folder
25+
*.cache
26+
# temp files created during bundling
27+
*.tmp
28+
# build or Metro logs
29+
*.log
2330

2431
# Environment variables
2532
.env

0 commit comments

Comments
 (0)