diff options
| author | Mike McQuaid | 2014-12-18 16:06:13 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2014-12-18 16:07:26 +0000 | 
| commit | c4df942cf63868b20049b92c0aff40c913e41da3 (patch) | |
| tree | b56cc51571d06c4949e6ec0ad8bae76d3cac909a | |
| parent | 9818d4c76bbdadb9391832ab51bbf7daefc143cf (diff) | |
| download | homebrew-c4df942cf63868b20049b92c0aff40c913e41da3.tar.bz2 | |
asciinema: general cleanup.
| -rw-r--r-- | Library/Formula/asciinema.rb | 14 | 
1 files changed, 8 insertions, 6 deletions
| diff --git a/Library/Formula/asciinema.rb b/Library/Formula/asciinema.rb index b8aaf1ffa..bf551c752 100644 --- a/Library/Formula/asciinema.rb +++ b/Library/Formula/asciinema.rb @@ -14,15 +14,18 @@ class Asciinema < Formula    depends_on "go" => :build    go_resource "github.com/kr/pty" do -    url "https://github.com/kr/pty.git", :revision => "67e2db24c831afa6c64fc17b4a143390674365ef" +    url "https://github.com/kr/pty.git", +      :revision => "67e2db24c831afa6c64fc17b4a143390674365ef"    end    go_resource "code.google.com/p/go.crypto" do -    url "https://code.google.com/p/go.crypto/", :revision => "aa2644fe4aa5", :using => :hg +    url "https://code.google.com/p/go.crypto/", +      :revision => "aa2644fe4aa5", :using => :hg    end    go_resource "code.google.com/p/gcfg" do -    url "https://code.google.com/p/gcfg/", :revision => "c2d3050044d05357eaf6c3547249ba57c5e235cb", :using => :git +    url "https://code.google.com/p/gcfg/", +      :revision => "c2d3050044d05357eaf6c3547249ba57c5e235cb", :using => :git    end    def install @@ -37,8 +40,7 @@ class Asciinema < Formula    end    test do -    assert_match /browser/, pipe_output("HOME=#{testpath} #{bin}/asciinema auth") -    assert File.exists?("#{testpath}/.asciinema/config") +    system "#{bin}/asciinema", "-v" +    system "#{bin}/asciinema", "-h"    end -  end | 
