summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/test/helper_files/create_archives.sh
blob: 314b55d27685e83b191ac72e3750ed8d6000ad05 (plain)
1
2
3
4
5
6
7
8
9
10
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 ..