From f09a8d7f2c3418c7163db2d9fd1e4ab8a65bab2c Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Tue, 27 Feb 2018 14:40:42 -0800 Subject: [PATCH] exclude more CI files from source distro (#25906) * exclude more CI files from source distro * Exclude any file starting with a . --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6fb3c46f21938..8d3073dda27b0 100644 --- a/Makefile +++ b/Makefile @@ -471,7 +471,8 @@ endif # Create file light-source-dist.tmp to hold all the filenames that go into the tarball echo "base/version_git.jl" > light-source-dist.tmp - git ls-files | sed -e '/\.git/d' -e '/\.travis/d' >> light-source-dist.tmp + # Exclude git, github and CI config files + git ls-files | sed -E -e '/^\..+/d' -e '/\/\..+/d' -e '/appveyor.yml/d' >> light-source-dist.tmp find doc/_build/html >> light-source-dist.tmp # Make tarball with only Julia code