1aa5253878
A shell script that makes it easy to use Objective-C files for shell script-like tasks. Closes Homebrew/homebrew#25814. Closes Homebrew/homebrew#26052. References https://github.com/iljaiwas/objc-run/issues/7. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
17 lines
422 B
Ruby
17 lines
422 B
Ruby
require 'formula'
|
|
|
|
class ObjcRun < Formula
|
|
homepage 'https://github.com/iljaiwas/objc-run'
|
|
url 'https://github.com/iljaiwas/objc-run/archive/1.4.tar.gz'
|
|
sha1 '86c15705359f2dc2c62d70e358caf63c2a468fee'
|
|
head 'https://github.com/iljaiwas/objc-run.git'
|
|
|
|
def install
|
|
bin.install 'objc-run'
|
|
(share+'objc-run').install 'examples', 'test.bash'
|
|
end
|
|
|
|
test do
|
|
system "#{share}/objc-run/test.bash"
|
|
end
|
|
end
|