aboutsummaryrefslogtreecommitdiff
path: root/tests/repository/publish.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-12 12:18:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-12 12:18:49 +0200
commit21758878a3b902ba06aaf2945edc626b367f2dbd (patch)
tree64be065c27e88150efd180554ce879b65b120e6d /tests/repository/publish.sh
parent384a3287548786990745c88a7da652a179a4731f (diff)
Rework test script
Diffstat (limited to 'tests/repository/publish.sh')
-rwxr-xr-xtests/repository/publish.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/repository/publish.sh b/tests/repository/publish.sh
new file mode 100755
index 0000000..2124ead
--- /dev/null
+++ b/tests/repository/publish.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Some commonly useful addtional options that can be specified via the
+# command line:
+#
+# --dry-run
+# --progress
+#
+rsync -v -rlpt --exclude '.*' --copy-unsafe-links --prune-empty-dirs \
+--delete-after $* 1/ pkg.cppget.org:/var/bpkg/tests/1/