diff options
| author | Vítor Galvão | 2015-03-08 12:10:36 +0100 |
|---|---|---|
| committer | Brett Koonce | 2015-03-14 19:45:04 -0700 |
| commit | 0a59e30046254f75b6962c69d9bb747b6811e6cb (patch) | |
| tree | cc948672afac5592f9fc723ea7b4a3ed8fe2051e /Library/Formula | |
| parent | 617c247523e39fd6401c7f57d2c2e908a231bd9f (diff) | |
| download | homebrew-0a59e30046254f75b6962c69d9bb747b6811e6cb.tar.bz2 | |
asciinema 1.0.0
Closes #37503.
Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/asciinema.rb | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Library/Formula/asciinema.rb b/Library/Formula/asciinema.rb index d327926f1..47a754f01 100644 --- a/Library/Formula/asciinema.rb +++ b/Library/Formula/asciinema.rb @@ -2,15 +2,10 @@ require "language/go" class Asciinema < Formula homepage "https://asciinema.org/" - url "https://github.com/asciinema/asciinema-cli/archive/v0.9.9.tar.gz" - sha1 "155c19366ffb3347e97026e9ab8006c16d2a52c6" - head "https://github.com/asciinema/asciinema-cli" - - devel do - url "https://github.com/asciinema/asciinema-cli/archive/v1.0.0.rc1.tar.gz" - sha1 "14bea5ed7fc3bda9a40c8a8173d7e9f107f6a78c" - version "1.0.0.rc1" - end + url "https://github.com/asciinema/asciinema/archive/v1.0.0.tar.gz" + sha1 "8e9862309a5bc1723cb27a40a412401ed05e4586" + + head "https://github.com/asciinema/asciinema.git" bottle do cellar :any @@ -39,7 +34,7 @@ class Asciinema < Formula def install ENV["GOPATH"] = buildpath mkdir_p buildpath/"src/github.com/asciinema" - ln_s buildpath, buildpath/"src/github.com/asciinema/asciinema-cli" + ln_s buildpath, buildpath/"src/github.com/asciinema/asciinema" Language::Go.stage_deps resources, buildpath/"src" system "go", "build", "-o", "asciinema" @@ -49,7 +44,7 @@ class Asciinema < Formula test do ENV["LC_ALL"] = "en_US.UTF-8" - system "#{bin}/asciinema", "-v" - system "#{bin}/asciinema", "-h" + system "#{bin}/asciinema", "--version" + system "#{bin}/asciinema", "--help" end end |
