Add more docs to dependencies-caching scripts

[ci skip]
This commit is contained in:
Mislav Marohnić 2013-12-10 13:29:04 +01:00
Родитель e4641544de
Коммит aadc8418d9
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -3,12 +3,18 @@
#
# After running `bundle`, caches the `vendor/bundle` directory to S3.
# On the next run, restores the cached directory before running `bundle`.
# When `Gemfile.lock` changes, the cache gets rebuilt.
#
# Requirements:
# - Gemfile.lock
# - TRAVIS_REPO_SLUG
# - TRAVIS_RUBY_VERSION
# - AMAZON_S3_BUCKET
# - script/s3-put
# - bundle
# - curl
#
# Author: Mislav Marohnić
set -e

Просмотреть файл

@ -2,12 +2,16 @@
# Usage: s3-put <FILE> <S3_BUCKET>[:<PATH>] [<CONTENT_TYPE>]
#
# Uploads a file to the Amazon S3 service.
# Outputs the URL for the newly uploaded file.
#
# Depends on AWS credentials being set via env:
# Requirements:
# - AMAZON_ACCESS_KEY_ID
# - AMAZON_SECRET_ACCESS_KEY
# - openssl
# - curl
#
# Outputs the URL of the newly uploaded file.
# Author: Mislav Marohnić
set -e
authorization() {