Skip to content

Commit

Permalink
build(lhctl): publish 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mijailr committed Aug 26, 2024
1 parent 1ea528d commit c462178
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Formula/lhctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ 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.10.0",
revision: "e16a552cc8761058a65f9f69298bea3f360716e8"
tag: "v0.11.0",
revision: "4b018c1b62e6104ddff1e62f7631ed88b3393352"
license "SSPL-1.0"
head "https://github.com/littlehorse-enterprises/littlehorse.git", branch: "master"
head "https://github.com/littlehorse-enterprises/littlehorse.git", tag: "v0.11.0"

depends_on "go" => :build

def install
ldflags = "-X main.version=#{version} -X main.buildSource=homebrew"
system "./local-dev/setup-go.sh"
ldflags = "-X main.version=#{version} -X main.commit=homebrew"
system "go", "build", "-C", "lhctl", *std_go_args(ldflags: ldflags)

Check failure on line 15 in Formula/lhctl.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Style/HashSyntax: Omit the hash value.
end

Expand Down
20 changes: 20 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class LhctlAT010 < 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.10.1",
revision: "f2be589d08b92349883cf7a8b696df9dabd5484c"
license "SSPL-1.0"
head "https://github.com/littlehorse-enterprises/littlehorse.git", tag: "0.10.1"

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)

Check failure on line 14 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Style/HashSyntax: Omit the hash value.
end

test do
assert_match "Generally a UserTaskRun", shell_output("#{bin}/lhctl --help")
end
end
2 changes: 1 addition & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Lhctl < Formula
class LhctlAT08 < 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",
Expand Down

0 comments on commit c462178

Please sign in to comment.