2020-06-07 22:48:41 +03:00
|
|
|
# Note: if you are viewing this from the tap repo, this file is automatically
|
|
|
|
# updated from:
|
|
|
|
# https://github.com/wez/wezterm/blob/master/ci/wezterm-homebrew-macos.rb.template
|
|
|
|
# by automation in the wezterm repo.
|
|
|
|
|
|
|
|
class Wezterm < Formula
|
|
|
|
desc "A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust"
|
|
|
|
homepage "https://wezfurlong.org/wezterm/"
|
|
|
|
url "https://github.com/wez/wezterm/releases/download/@TAG@/WezTerm-macos-@TAG@.zip"
|
|
|
|
sha256 "@SHA256@"
|
2020-07-05 19:40:28 +03:00
|
|
|
head "https://github.com/wez/wezterm/releases/download/nightly/WezTerm-macos-nightly.zip"
|
2020-06-07 22:48:41 +03:00
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install "WezTerm.app"
|
|
|
|
bin.write_exec_script "#{prefix}/WezTerm.app/wezterm"
|
2020-10-25 02:54:36 +03:00
|
|
|
bin.write_exec_script "#{prefix}/WezTerm.app/wezterm-gui"
|
2020-10-31 08:20:02 +03:00
|
|
|
bin.write_exec_script "#{prefix}/WezTerm.app/wezterm-mux-server"
|
2020-06-07 23:05:23 +03:00
|
|
|
bin.write_exec_script "#{prefix}/WezTerm.app/strip-ansi-escapes"
|
2020-06-07 22:48:41 +03:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|