mirror of
https://github.com/kennethreitz-archive/heroku-buildpack-archiveteam.git
synced 2026-06-20 23:31:00 +00:00
21 lines
420 B
Bash
Executable File
21 lines
420 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# bin/compile <build-dir> <cache-dir>
|
|
|
|
set -eo pipefail
|
|
|
|
|
|
indent() {
|
|
sed -u 's/^/ /'
|
|
}
|
|
|
|
# Go to build dir
|
|
cd $1
|
|
|
|
echo "-----> Fetching rsync"
|
|
curl -L -s -o rsync.tar.gz http://f.cl.ly/items/241p0R2f2T1z0L321J1W/rsync.tar.gz
|
|
tar -zxf rsync.tar.gz
|
|
|
|
echo "-----> Fetching warc-get"
|
|
curl -L -s -o warc-get.tar.gz http://f.cl.ly/items/2V2h1W1o0j0W3a463N1y/warc-get.tar.gz
|
|
tar -zxf warc-get.tar.gz
|