Skip to content

Commit

Permalink
lnav: add PRQL support
Browse files Browse the repository at this point in the history
Update the 0.12.3 version to include PRQL querying support.
  • Loading branch information
ttiimm committed Jan 5, 2025
1 parent 17a0d24 commit ea41a7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/l/lnav.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class Lnav < Formula
depends_on "re2c" => :build
end

depends_on "rust" => :build
depends_on "libarchive"
depends_on "ncurses"
depends_on "pcre2"
Expand All @@ -43,11 +44,14 @@ def install
"--with-sqlite3=#{Formula["sqlite"].opt_prefix}",
"--with-readline=#{Formula["readline"].opt_prefix}",
"--with-libarchive=#{Formula["libarchive"].opt_prefix}",
"--with-ncurses=#{Formula["ncurses"].opt_prefix}"
"--with-ncurses=#{Formula["ncurses"].opt_prefix}",
"--with-rust=#{Formula["rust"].opt_prefix}"
system "make", "install", "V=1"
end

test do

Check failure on line 52 in Formula/l/lnav.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew test --verbose lnav` failed on macOS Sequoia (15) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'

Check failure on line 52 in Formula/l/lnav.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose lnav` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'

Check failure on line 52 in Formula/l/lnav.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew test --verbose lnav` failed on macOS Ventura (13) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'
system bin/"lnav", "-V"

assert_match "col1", shell_output("#{bin}/lnav -n -c ';from [{ col1=1 }] | take 1'")
end
end

0 comments on commit ea41a7b

Please sign in to comment.