aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-12-20 21:11:45 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-12-22 18:47:47 -0800
commit1c9c54bff527b09e0a95bf6b3457299f04f0c76b (patch)
treec144c8e22c2388f697128897d8969a829f4e0a5c /testpath
parentgkeyldap/cli.py: Fix missed import of Action_Options (diff)
downloadgentoo-keys-1c9c54bff527b09e0a95bf6b3457299f04f0c76b.tar.gz
gentoo-keys-1c9c54bff527b09e0a95bf6b3457299f04f0c76b.tar.bz2
gentoo-keys-1c9c54bff527b09e0a95bf6b3457299f04f0c76b.zip
Add hardlink generators for LICENSE and README.md to testpath
Git does not handle links, by creating hardlinks, the files will be included in any sdist operations.
Diffstat (limited to 'testpath')
-rw-r--r--testpath12
1 files changed, 12 insertions, 0 deletions
diff --git a/testpath b/testpath
index b624ba2..6064710 100644
--- a/testpath
+++ b/testpath
@@ -18,3 +18,15 @@ else
export PATH="$(dirname $BASH_SOURCE[0])/../pyGPG/bin:$(dirname $BASH_SOURCE[0])/gkeys/bin:$(dirname $BASH_SOURCE[0])/gkeys-ldap/bin:$(dirname $BASH_SOURCE[0])/gkeys-gen/bin:${PATH}"
export PYTHONPATH="$(dirname $BASH_SOURCE[0])/../pyGPG/:$(dirname $BASH_SOURCE[0])/../ssl-fetch/:$(dirname $BASH_SOURCE[0])/gkeys/:$(dirname $BASH_SOURCE[0])/gkeys-gen/:$(dirname $BASH_SOURCE[0])/gkeys-ldap/:${PYTHONPATH}"
fi
+
+# Create our LICENSE and README.md hardlinks
+# This way we only need one copy of each file,
+# but they get included in all 3 pkgs
+
+ln LICENSE gkeys/LICENSE
+ln LICENSE gkeys-gen/LICENSE
+ln LICENSE gkeys-ldap/LICENSE
+
+ln README.md gkeys/README.md
+ln README.md gkeys-gen/README.md
+ln README.md gkeys-ldap/README.md