Skip to content

Commit

Permalink
Publishes newest verions of lhctl 0.7.*
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoRojas committed Nov 28, 2023
1 parent 202d7c3 commit 1a0c81a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/lhctl@0.7.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class Lhctl < Formula
desc "LittleHorse CLI for managing all things LittleHorse"
homepage "https://littlehorse.dev/docs/developer-guide/lhctl"
url "https://github.com/littlehorse-enterprises/littlehorse.git",
tag: "0.7.0-alpha.1",
revision: "79b522d687aa2a5f56001fcde710f2ded2378745"
license "SSPL-1.0"
head "https://github.com/littlehorse-enterprises/littlehorse.git", branch: "master"

depends_on "go" => :build

def install
ldflags = "-X main.version=#{version} -X main.buildSource=homebrew"
system "go", "build", "-C", "lhctl", *std_go_args(ldflags: ldflags)
end

test do
assert_match "Generally a UserTaskRun", shell_output("#{bin}/lhctl --help")
end
end

0 comments on commit 1a0c81a

Please sign in to comment.