watchexec/pkg/brew/watchexec.rb

15 lines
433 B
Ruby
Raw Normal View History

2016-09-26 14:02:47 +02:00
class Watchexec < Formula
desc "Execute commands when watched files change"
homepage "https://github.com/mattgreen/watchexec"
2016-10-25 13:50:41 +02:00
url "https://github.com/mattgreen/watchexec/releases/download/1.2.0/watchexec-1.2.0-x86_64-apple-darwin.tar.gz"
sha256 "38784ca4442630eb094f53a50ca95c87d870798842c2a11525a816b1d8bf383c"
2016-09-26 14:02:47 +02:00
def install
bin.install "watchexec"
end
test do
system "#{bin}/watchexec", "--version"
end
end