aboutsummaryrefslogtreecommitdiff
path: root/tests/repository/publish
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-30 20:38:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-30 20:38:58 +0200
commitaf1a90c458819f39156ea9530af29833b5881d10 (patch)
treea78d92e582fb6fd4f677495115a18ee85a47bad1 /tests/repository/publish
parentaf00f71ee83a06fa8bb0066b01e2565619b298ae (diff)
Use build2.org to host test repositories
Diffstat (limited to 'tests/repository/publish')
-rwxr-xr-xtests/repository/publish10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/repository/publish b/tests/repository/publish
new file mode 100755
index 0000000..df3245b
--- /dev/null
+++ b/tests/repository/publish
@@ -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/ build2.org:/var/bpkg/1/tests/