Skip to content

Commit dffcea4

Browse files
authored
Merge pull request #274667 from GunniBusch/bump-tinymist-0.14.14
tinymist 0.14.14
2 parents c9c22ea + 46ebffa commit dffcea4

1 file changed

Lines changed: 11 additions & 29 deletions

File tree

Formula/t/tinymist.rb

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ class Tinymist < Formula
1515
end
1616

1717
bottle do
18-
rebuild 1
19-
sha256 cellar: :any_skip_relocation, arm64_tahoe: "b5ae315923a00214aa33b536f46e0f7a7dd0299928c1df2b3aeaf25dbf1b324e"
20-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "14962661c5e1303769775eb737a8b75f7caab9073327e67881302c1a8ca32931"
21-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "638aec58d38727c79265dd35fc806c9ada01625495430383dc4dfc50b38c125a"
22-
sha256 cellar: :any_skip_relocation, sonoma: "47224320f7b30bcb8611c969d06393a69f7e6bc4b33c89559b7f931645b02dda"
23-
sha256 cellar: :any_skip_relocation, arm64_linux: "50032f40e6bd88882d1df4a529512b79c6b8c6822dd8d1304e56ca643c70a42e"
24-
sha256 cellar: :any_skip_relocation, x86_64_linux: "85f990a50cc931dc86f527d241517b6837281feaf9ef4470398add5fb44efab9"
18+
rebuild 2
19+
sha256 cellar: :any_skip_relocation, arm64_tahoe: "2e0ca08cf27e6dfbc6fa52f69dbcc9c0096979f4b03b6b02f1b745de80490118"
20+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ec6dbf0d55d8bb89e2280ea213ce836e678ba2437c0a7078ef035dada36c420e"
21+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "75573a57ecc654446a01e74a2d8a47e7476d0c5af668f8404c36c5ace3ba6b90"
22+
sha256 cellar: :any_skip_relocation, sonoma: "aa8e35d07651f29fbf92c7d99447754550309d1cdc96e506601c2842605e32a1"
23+
sha256 cellar: :any_skip_relocation, arm64_linux: "840213b4c8897d64566894db1721ac38c83b94a91b446e19aa01f2dd0cc415ab"
24+
sha256 cellar: :any_skip_relocation, x86_64_linux: "8c12af290049fde309306c2aba417c57b2954e9873b8b72e994e95102768f2b9"
2525
end
2626

2727
depends_on "rust" => :build
@@ -34,28 +34,10 @@ def install
3434
test do
3535
system bin/"tinymist", "probe"
3636

37-
json = <<~JSON
38-
{
39-
"jsonrpc": "2.0",
40-
"id": 1,
41-
"method": "initialize",
42-
"params": {
43-
"rootUri": null,
44-
"capabilities": {}
45-
}
46-
}
47-
JSON
37+
(testpath/"test.typ").write("= Hello from tinymist\n")
38+
system bin/"tinymist", "compile", "test.typ", "test.pdf"
4839

49-
input = "Content-Length: #{json.size}\r\n\r\n#{json}"
50-
output = IO.popen([bin/"tinymist", "lsp"], "w+") do |pipe|
51-
pipe.write(input)
52-
sleep 1
53-
pipe.close_write
54-
pipe.read
55-
end
56-
57-
assert_match(/^Content-Length: \d+/i, output)
58-
json_dump = output.lines.last.strip
59-
assert_equal 1, JSON.parse(json_dump)["id"]
40+
assert_path_exists testpath/"test.pdf"
41+
assert_equal "%PDF-", (testpath/"test.pdf").binread(5)
6042
end
6143
end

0 commit comments

Comments
 (0)