diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-03 09:25:23 +0200 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-03 09:25:23 +0200 |
| commit | 37c8dc6c89714e553bb5ce32a83910a1407d7067 (patch) | |
| tree | 11a7ced3c9016384aab3a972c4015f066a91ea5a | |
| parent | 9656d604846e3a67e6e045fca0e2a04e96e93e93 (diff) | |
| download | postgresql-setup-tests-37c8dc6c89714e553bb5ce32a83910a1407d7067.tar.gz postgresql-setup-tests-37c8dc6c89714e553bb5ce32a83910a1407d7067.tar.xz postgresql-setup-tests-37c8dc6c89714e553bb5ce32a83910a1407d7067.zip | |
dist: create distribution script
This script creates tarball having self-standing testsuite which
is able to run on remote host.
* dist: New file.
* .gitignore: New file, ignore tarballs.
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | dist | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..335ec95 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.gz @@ -0,0 +1,10 @@ +#!/bin/bash + +name=postgresql-setup-tests +tarball=$name.tar.gz +test -e .git || exit 1 +what=`ls -1 | grep -v $tarball` +mkdir $name +cp $what $name -R +tar -czf $tarball $name +rm -rf $name |
