diff options
| author | Baptiste Fontaine | 2015-01-18 22:28:42 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-01-22 20:48:30 +0100 | 
| commit | 4b10c0711d96296e6d66c12175999548059d09a4 (patch) | |
| tree | de99889a2ca0cbddf9eed8fea1c10babbf8da012 /Library/Formula/aws-elasticache.rb | |
| parent | cce4501dece6f7b2fbd16c9ed8782cc09250fb27 (diff) | |
| download | homebrew-4b10c0711d96296e6d66c12175999548059d09a4.tar.bz2 | |
aws-elasticache 1.12
Closes #36012.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/aws-elasticache.rb')
| -rw-r--r-- | Library/Formula/aws-elasticache.rb | 18 | 
1 files changed, 11 insertions, 7 deletions
| diff --git a/Library/Formula/aws-elasticache.rb b/Library/Formula/aws-elasticache.rb index 546630e0f..a2c30101d 100644 --- a/Library/Formula/aws-elasticache.rb +++ b/Library/Formula/aws-elasticache.rb @@ -1,14 +1,18 @@ -require 'formula' -  class AwsElasticache < AmazonWebServicesFormula -  homepage 'http://aws.amazon.com/developertools/2310261897259567' -  url 'https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2013-06-15-1.9.000.zip' -  version '1.9.000' -  sha1 'c8962cc2ea22f88883b38cda2674d1befbed1b71' +  homepage "https://aws.amazon.com/developertools/2310261897259567" +  url "https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2014-09-30-1.12.000.zip" +  version "1.12.000" +  sha1 "aeed292beada4aabe7d88562af0f1353556c0767" -  depends_on 'ec2-api-tools' +  depends_on "ec2-api-tools"    def caveats      standard_instructions "AWS_ELASTICACHE_HOME"    end + +  test do +    ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp +    ENV["AWS_ELASTICACHE_HOME"] = libexec +    system "#{bin}/elasticache-version" +  end  end | 
