diff options
| author | Adam Vandenberg | 2009-11-24 09:10:35 -0800 |
|---|---|---|
| committer | Max Howell | 2009-12-12 16:24:17 +0000 |
| commit | bfe9239c9a1457aea5820891da921fe4612d9e20 (patch) | |
| tree | 391f069dcf8bc866a664dfca8831a25786d4725b /Library/Formula | |
| parent | ed7d9b9ee13bab5375016c01f5d6eb9ba91f3c48 (diff) | |
| download | homebrew-bfe9239c9a1457aea5820891da921fe4612d9e20.tar.bz2 | |
Add formula for resty and jsawk
resty and jsawk are command-line scripts useful for testing REST/JSON APIs.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jsawk.rb | 14 | ||||
| -rw-r--r-- | Library/Formula/resty.rb | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/jsawk.rb b/Library/Formula/jsawk.rb new file mode 100644 index 000000000..8fb299ee1 --- /dev/null +++ b/Library/Formula/jsawk.rb @@ -0,0 +1,14 @@ +require 'formula' + +class Jsawk <Formula + head 'git://github.com/micha/jsawk.git' + homepage 'http://github.com/micha/jsawk' + + # Is there a built-in JavaScript interpreter on OS X 10.6 we can use instead? + depends_on 'spidermonkey' + + def install + system "mv README.markdown README" + bin.install "jsawk" + end +end diff --git a/Library/Formula/resty.rb b/Library/Formula/resty.rb new file mode 100644 index 000000000..68555d8cc --- /dev/null +++ b/Library/Formula/resty.rb @@ -0,0 +1,14 @@ +require 'formula' + +# resty is a bash wrapper around curl for testing HTTP/REST APIs. + +class Resty <Formula + head 'git://github.com/micha/resty.git' + homepage 'http://github.com/micha/resty' + + def install + system "mv README.markdown README" + # Note: pp depends on perl JSON module, which we don't install for you. + bin.install %w[pp resty] + end +end |
