Skip to content

Commit

Permalink
feat: Formula v18.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer authored and github-actions[bot] committed Jul 24, 2023
1 parent d3b34f9 commit 538db19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions oh-my-posh.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
class OhMyPosh < Formula
desc "Prompt theme engine for any shell"
homepage "https://ohmyposh.dev"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v17.12.1.tar.gz"
url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v18.0.0.tar.gz"
head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"
sha256 "4774496c8049c5ebcec74af48bb26645d7501baf3187ae63d3d34215e5fc6282"
sha256 "c41675c5a180642eed69bff109c6919b498936d315d7771f83b27de7b64f38bd"
license "MIT"
version "17.12.1"
version "18.0.0"

depends_on "[email protected]" => :build

def install
Dir.chdir("src") do
ENV["GOPROXY"] = ENV.has_key?("HOMEBREW_GOPROXY") ? ENV["HOMEBREW_GOPROXY"] : ""
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=17.12.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-07-23T07:42:51Z\'\"")
system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=18.0.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2023-07-24T09:53:22Z\'\"")
bin.install "oh-my-posh"
end
mv "themes", prefix
Expand Down

0 comments on commit 538db19

Please sign in to comment.