Skip to content

Commit

Permalink
shell-keystroke-animator v1.0.0 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Jan 22, 2015
1 parent 8d17386 commit 90423a0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -15,6 +15,7 @@ brew install <formula>
Choose one of the below programs as your `<formula>`:

- [`npshell`](https://github.com/joelpurra/npshell)
- [`shell-keystroke-animator`](https://github.com/joelpurra/shell-keystroke-animator)


Thanks for using my software! Spread the word =)
Expand Down
24 changes: 24 additions & 0 deletions shell-keystroke-animator.rb
@@ -0,0 +1,24 @@
class ShellKeystrokeAnimator < Formula
homepage "https://github.com/joelpurra/shell-keystroke-animator"
url "https://github.com/joelpurra/shell-keystroke-animator/archive/v1.0.0.tar.gz"
head "https://github.com/joelpurra/shell-keystroke-animator.git"
sha256 "b0c86a3d87c30afd45e218dd53fee0af899049406dae77d31635bc803a8d9cab"

class Foo < Formula
depends_on "bash"
depends_on "imagemagick"
end

def install
prefix.install Dir["src"]
bin.install_symlink prefix/"src/keystroke-animator"
end

test do
# These tests run Mac OS X automation tools to take screenshots, and
# aren't expected to actually work on a build server.
system "echo 'true' | #{bin}/keystroke-animator 0 0.01 0.01"
assert (testpath/"output.gif").exist?,
"output.gif was not created."
end
end

0 comments on commit 90423a0

Please sign in to comment.