8000 Skip .git{,hub} files when packaging (#8743) · dok-net/arduino-esp8266@ed6b957 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed6b957

Browse files
authored
Skip .git{,hub} files when packaging (esp8266#8743)
1 parent 9701d3a commit ed6b957

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package/build_boards_manager_package.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,16 @@ mkdir -p ${outdir}
7171
# Some files should be excluded from the package
7272
cat << EOF > exclude.txt
7373
.git
74+
.git-blame-ignore-revs
75+
.github
7476
.gitignore
7577
.gitmodules
76-
.travis.yml
77-
package
78+
ISSUE_TEMPLATE.md
7879
doc
80+
package
7981
EOF
8082
# Also include all files which are ignored by git
83+
# TODO: .gitattributes helper for the above?
8184
git ls-files --other --directory >> exclude.txt
8285
# Now copy files to $outdir
8386
rsync -a --exclude-from 'exclude.txt' ${srcdir}/ ${outdir}/

0 commit comments

Comments
 (0)
0