Add formula for resty and jsawk
resty and jsawk are command-line scripts useful for testing REST/JSON APIs.
This commit is contained in:
parent
345c48e31c
commit
fac8a63810
2 changed files with 28 additions and 0 deletions
14
Formula/jsawk.rb
Normal file
14
Formula/jsawk.rb
Normal file
|
@ -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
|
14
Formula/resty.rb
Normal file
14
Formula/resty.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue