watchexec/pkg/brew/watchexec.rb

16 lines
464 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-11-09 03:53:13 +01:00
url "https://github.com/mattgreen/watchexec/releases/download/1.4.0/watchexec-1.4.0-x86_64-apple-darwin.tar.gz"
sha256 "1ec1ce839be697bef07e1083acdd52ccb108acd29fd638371c1c8ed15e736b6e"
2016-09-26 14:02:47 +02:00
def install
bin.install "watchexec"
2016-11-09 03:53:13 +01:00
man1.install "watchexec.1"
2016-09-26 14:02:47 +02:00
end
test do
system "#{bin}/watchexec", "--version"
end
end