Skip to content

Commit 5fb9b49

Browse files
authored
Merge pull request #323 from danleh/gitattributes-generated
Mark build output as generated for GitHub
1 parent e668a67 commit 5fb9b49

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎.gitattributes‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Files that build scripts write. GitHub collapses them in pull request
2+
# diffs and leaves them out of the language statistics; git itself
3+
# treats them like any other file.
4+
5+
# Wasm workloads: everything their build.sh writes. The build.log next
6+
# to each of these directories stays visible, since it records the
7+
# toolchain and source versions.
8+
workloads/*-wasm/build/** linguist-generated=true
9+
workloads/Dart/build/** linguist-generated=true
10+
workloads/dotnet/build-aot/** linguist-generated=true
11+
workloads/dotnet/build-interp/** linguist-generated=true
12+
workloads/transformersjs/build/** linguist-generated=true
13+
14+
# JavaScript workloads: webpack output of "npm run build". Their build/
15+
# directories hold the hand-written build scripts.
16+
workloads/*/dist/** linguist-generated=true
17+
18+
# typescript-lib: the project sources that build/import-src-project.mjs
19+
# writes. The README stays visible.
20+
workloads/typescript-lib/src/gen/*/** linguist-generated=true

0 commit comments

Comments
 (0)