Skip to content

Commit

Permalink
homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasuran committed Mar 4, 2024
1 parent 7c67a81 commit 1e493da
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions homebrew/gomon.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Gomon < Formula
desc "Automatic restarting of go http server when change in file"
homepage "https://gomon.eliasuran.dev"
url "https://github.com/eliasuran/gomon/archive/refs/tags/latest.tar.gz"
sha256 "checksum"

depends_on "go" => :build

def install
ENV["GO111MODULE"] = "auto"
system "go", "build", "-o", bin/"gomon", "-ldflags", "-s -w"
end
end

0 comments on commit 1e493da

Please sign in to comment.