File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ class Msedit < Formula
2+ desc "Simple text editor with clickable interface"
3+ homepage "https://github.com/microsoft/edit"
4+ url "https://github.com/microsoft/edit/archive/refs/tags/v1.2.0.tar.gz"
5+ sha256 "e4ba6ff1bfecfeff2492306f5850c714bf50ffdb3cc3bb5be3aa987289f240fe"
6+ license "MIT"
7+
8+ bottle do
9+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "c5e47e81d4b0f09ecf3668357290c1ab327e07e3c48b26523b307a24dfd11170"
10+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "85957f070c49135a21ed0bf51a56bbd70d96903811ae1cc4bc932373407b63d7"
11+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "78f78eba707fee6f5ddddc0038996738ca723cdf22586636da15ed3121583f79"
12+ sha256 cellar : :any_skip_relocation , sonoma : "f7ad8fbbe96effc0b3aa6852a58743af226dff0b028f0cef15428e4987af52e5"
13+ end
14+
15+ depends_on "rust" => :build
16+ depends_on :macos # due to test failure on linux
17+
18+ def install
19+ ENV [ "RUSTC_BOOTSTRAP" ] = "1"
20+ system "cargo" , "install" , *std_cargo_args
21+ end
22+
23+ test do
24+ # msedit is a TUI application
25+ assert_match version . to_s , shell_output ( "#{ bin } /edit --version" )
26+ end
27+ end
You can’t perform that action at this time.
0 commit comments