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-15 17:15:11 +02:00
url "https://github.com/mattgreen/watchexec/releases/download/1.0.0/watchexec-1.0.0-x86_64-apple-darwin.tar.gz"
sha256 "151d8f8075dfb88a69b1d5d6f9b43c849aa1e099a3357fab494b1f43092ed59c"
2016-09-26 14:02:47 +02:00
def install
bin.install "watchexec"
end
test do
system "#{bin}/watchexec", "--version"
end
end