Skip to content

Commit

Permalink
Build lavinmqctl separately
Browse files Browse the repository at this point in the history
This is a workaround for a [bug in crystal](crystal-lang/crystal#15144)
  • Loading branch information
spuun committed Nov 5, 2024
1 parent 1076917 commit 4badf4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/lavinmq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class Lavinmq < Formula
depends_on "pcre2"

def install
system "make", "all", "DOCS="
system "make", "bin/lavinmq", "bin/lavinmqperf", "DOCS="
system "crystal", "build", "src/lavinmqctl.cr", "-o", "bin/lavinmqctl", "--release", "--error-on-warnings", "--link-flags=-pie"

Check failure on line 17 in Formula/lavinmq.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/LineLength: Line is too long. [131/118]

Check failure on line 17 in Formula/lavinmq.rb

View workflow job for this annotation

GitHub Actions / test-bot (macOS-latest)

Layout/LineLength: Line is too long. [131/118]
bin.install "bin/lavinmq"
bin.install "bin/lavinmqctl"
bin.install "bin/lavinmqperf"
Expand Down

0 comments on commit 4badf4f

Please sign in to comment.