We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed7ba5b commit 85a4240Copy full SHA for 85a4240
Formula/m/msedit.rb
@@ -0,0 +1,20 @@
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
+ depends_on "rust" => :build
9
+ depends_on :macos # due to test failure on linux
10
11
+ def install
12
+ ENV["RUSTC_BOOTSTRAP"] = "1"
13
+ system "cargo", "install", *std_cargo_args
14
+ end
15
16
+ test do
17
+ # msedit is a TUI application
18
+ assert_match version.to_s, shell_output("#{bin}/edit --version")
19
20
+end
0 commit comments