Skip to content

Commit aca7b6b

Browse files
committed
build: multi-arch publish targets using cargo-zigbuild (no Docker needed)
- Replace cross with cargo-zigbuild for Linux/Windows cross-compilation - Update publish-cli: all 5 archs (macOS ARM64/x86_64, Linux ARM64/x86_64, Windows x86_64) - Update publish-python: maturin 1.12.3 with --zig --compatibility manylinux2014 - 4 Python versions (3.10-3.13) x 2 Linux archs - macOS ARM64/x86_64 auto-detected - Windows gracefully skipped (dll linking not supported cross) - PyPI upload with --username __token__ - Update publish-node: cargo zigbuild for Linux ARM64/x86_64 - Add publish-brew: gen-formula.sh with local SHA256 fallback - Add scripts/gen-formula.sh: Homebrew formula generator with local file SHA256 - Add Formula/edgeparse.rb: initial Homebrew formula for v0.1.1
1 parent b0a5b7b commit aca7b6b

3 files changed

Lines changed: 388 additions & 31 deletions

File tree

Formula/edgeparse.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Auto-generated by `make publish-brew` — do not edit manually.
2+
class Edgeparse < Formula
3+
desc "High-performance PDF-to-Markdown/JSON extraction engine (Rust)"
4+
homepage "https://github.com/raphaelmansuy/edgeparse"
5+
version "0.1.1"
6+
license "Apache-2.0"
7+
8+
on_macos do
9+
on_arm do
10+
url "https://github.com/raphaelmansuy/edgeparse/releases/download/v0.1.1/edgeparse-0.1.1-aarch64-apple-darwin.tar.gz"
11+
sha256 "2da6be1c032b2a75361c09874411a8df392d8120457220bf5ee81fe37ff08a4c"
12+
end
13+
on_intel do
14+
url "https://github.com/raphaelmansuy/edgeparse/releases/download/v0.1.1/edgeparse-0.1.1-x86_64-apple-darwin.tar.gz"
15+
sha256 "e503a07b225f58a4b8d8fa35e78ac5f0d5e845cf18ca760292b274df29c810fb"
16+
end
17+
end
18+
19+
def install
20+
bin.install "edgeparse"
21+
end
22+
23+
test do
24+
assert_match version.to_s, shell_output("#{bin}/edgeparse --version")
25+
end
26+
end

0 commit comments

Comments
 (0)