Skip to content

Commit 455dd14

Browse files
botantonydaeho-ro
authored andcommitted
tinysearch 0.9.0
1 parent 7cd7f46 commit 455dd14

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Formula/t/tinysearch.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
class Tinysearch < Formula
22
desc "Tiny, full-text search engine for static websites built with Rust and Wasm"
33
homepage "https://github.com/tinysearch/tinysearch"
4-
url "https://github.com/tinysearch/tinysearch/archive/refs/tags/v0.8.2.tar.gz"
5-
sha256 "103214d77f0624bbb7e396667136156fdb8c8c7abeb6860adb231bf2a00b256d"
4+
url "https://github.com/tinysearch/tinysearch/archive/refs/tags/v0.9.0.tar.gz"
5+
sha256 "90b035d0d41fe166e5a5ce18668d1c3098a7e64c17fcb8bfc7a3ba11c24019a4"
66
license any_of: ["Apache-2.0", "MIT"]
77
head "https://github.com/tinysearch/tinysearch.git", branch: "master"
88

9-
no_autobump! because: :requires_manual_review
10-
119
bottle do
1210
sha256 cellar: :any_skip_relocation, arm64_sequoia: "604da29b5763cbd83ee3851adf412ebc0683a39f82c4f6fb5db430c21e5804b8"
1311
sha256 cellar: :any_skip_relocation, arm64_sonoma: "22ba810fa21cf5ed9b4b3da171f5c528812ee9a7347ed87f658dd9c6cb930b22"
@@ -36,9 +34,10 @@ def install
3634
ENV.prepend_path "PATH", Formula["rustup"].bin
3735
system "rustup", "set", "profile", "minimal"
3836
system "rustup", "default", "stable"
37+
system "rustup", "target", "add", "wasm32-unknown-unknown"
3938

4039
system bin/"tinysearch", pkgshare/"fixtures/index.json"
41-
assert_path_exists testpath/"wasm_output/tinysearch_engine_bg.wasm"
42-
assert_match "A tiny search engine for static websites", (testpath/"wasm_output/package.json").read
40+
assert_path_exists testpath/"wasm_output/tinysearch_engine.wasm"
41+
assert_match "TinySearch WASM Demo", (testpath/"wasm_output/demo.html").read
4342
end
4443
end

0 commit comments

Comments
 (0)