From eb27d67cca1bf8c2d372aa40fe7de21432e0c76a Mon Sep 17 00:00:00 2001 From: Jared Tobin Date: Sat, 1 Feb 2020 11:44:13 +0400 Subject: [PATCH] gitattributes: export-ignore test directories [ci skip] Don't include pkg/arvo/tests and pkg/urbit/tests when running git-archive(1). Additionally, move the export-ignore declaration for pkg/urbit/hashtable_tests into the pkg/urbit/.gitattributes files. For default operation, git-archive(1) requires that these declarations be located on the tree being archived. --- .gitattributes | 1 - pkg/arvo/.gitattributes | 1 + pkg/urbit/.gitattributes | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 pkg/arvo/.gitattributes create mode 100644 pkg/urbit/.gitattributes diff --git a/.gitattributes b/.gitattributes index 57a343b199..6aa02bc32c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,4 +2,3 @@ bin/* filter=lfs diff=lfs merge=lfs -text bin/*/* filter=lfs diff=lfs merge=lfs -text pkg/arvo/**/*.js binary pkg/arvo/**/*.css binary -pkg/urbit/hashtable_tests export-ignore diff --git a/pkg/arvo/.gitattributes b/pkg/arvo/.gitattributes new file mode 100644 index 0000000000..82d4d790bd --- /dev/null +++ b/pkg/arvo/.gitattributes @@ -0,0 +1 @@ +tests export-ignore diff --git a/pkg/urbit/.gitattributes b/pkg/urbit/.gitattributes new file mode 100644 index 0000000000..7299f96145 --- /dev/null +++ b/pkg/urbit/.gitattributes @@ -0,0 +1,2 @@ +tests export-ignore +hashtable_tests export-ignore