homebrew-core/Formula/objc-run.rb
2015-10-23 20:47:10 +08:00

19 lines
519 B
Ruby

class ObjcRun < Formula
desc "Use Objective-C files for shell script-like tasks"
homepage "https://github.com/iljaiwas/objc-run"
url "https://github.com/iljaiwas/objc-run/archive/1.4.tar.gz"
sha256 "6d02a31764c457c4a6a9f5df0963d733d611ba873fc32672151ee02a05acd6f2"
head "https://github.com/iljaiwas/objc-run.git"
bottle :unneeded
def install
bin.install "objc-run"
pkgshare.install "examples", "test.bash"
end
test do
cp_r pkgshare, testpath
system "./objc-run/test.bash"
end
end