Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lavinmqperf: break out entities to own files #918

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BINS := bin/lavinmq bin/lavinmqctl bin/lavinmqperf
SOURCES := $(shell find src/lavinmq src/stdlib -name '*.cr' 2> /dev/null)
PERF_SOURCES := $(shell find src/lavinmqperf -name '*.cr' 2> /dev/null)
VIEW_SOURCES := $(wildcard views/*.ecr)
VIEW_TARGETS := $(patsubst views/%.ecr,static/views/%.html,$(VIEW_SOURCES))
VIEW_PARTIALS := $(wildcard views/partials/*.ecr)
Expand Down Expand Up @@ -50,7 +51,7 @@ bin/%: src/%.cr $(SOURCES) lib $(JS) $(DOCS) | bin
bin/%-debug: src/%.cr $(SOURCES) lib $(JS) $(DOCS) | bin
crystal build $< -o $@ --debug $(CRYSTAL_FLAGS)

bin/lavinmqperf: src/lavinmqperf.cr lib | bin
bin/lavinmqperf: src/lavinmqperf.cr $(PERF_SOURCES) lib | bin
crystal build $< -o $@ -Dpreview_mt $(CRYSTAL_FLAGS)

bin/lavinmqctl: src/lavinmqctl.cr lib | bin
Expand Down
Loading
Loading