summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/test/helper_files/create_archives.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozharness/test/helper_files/create_archives.sh')
-rwxr-xr-xtesting/mozharness/test/helper_files/create_archives.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mozharness/test/helper_files/create_archives.sh b/testing/mozharness/test/helper_files/create_archives.sh
new file mode 100755
index 0000000000..314b55d276
--- /dev/null
+++ b/testing/mozharness/test/helper_files/create_archives.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Script to auto-generate the different archive types under the archives directory.
+
+cd archives
+
+rm archive.*
+
+tar cf archive.tar -C reference .
+gzip -fk archive.tar >archive.tar.gz
+bzip2 -fk archive.tar >archive.tar.bz2
+cd reference && zip ../archive.zip -r * && cd ..