Skip to content

Commit d8d7c8c

Browse files
committed
meson.build: Don't distribute the .github directory
1 parent ee0589c commit d8d7c8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,17 @@ if can_add_dist_script
266266
python3, dist_changelog,
267267
project_source_root,
268268
)
269+
# Don't distribute these files and directories.
270+
dont_distribute = [
271+
'.github',
272+
]
269273
# Add build scripts to the distribution directory, and delete .gitignore
270274
# files and an empty $MESON_PROJECT_DIST_ROOT/build/ directory.
271275
meson.add_dist_script(
272276
python3, dist_build_scripts,
273277
project_source_root,
274278
'untracked' / 'build_scripts',
279+
dont_distribute,
275280
)
276281
endif
277282

0 commit comments

Comments
 (0)