| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- ## shallow clone for speed
- BUILD_WITHOUT_QUIC ?= true
- export BUILD_WITHOUT_QUIC
- BUILD_WITHOUT_ROCKSDB ?= true
- export BUILD_WITHOUT_ROCKSDB
- REBAR ?= $(or $(shell which rebar3 2>/dev/null),$(CURDIR)/rebar3)
- REBAR_VERSION ?= 3.19.0-emqx-1
- .PHONY: all
- all: compile
- .PHONY: get-rebar3
- get-rebar3:
- @$(CURDIR)/get-rebar3 $(REBAR_VERSION)
- $(REBAR):
- $(MAKE) get-rebar3
- .PHONY: compile
- compile: $(REBAR)
- $(REBAR) compile
- .PHONY: ct
- ct: $(REBAR)
- $(REBAR) as test ct -v
- .PHONY: eunit
- eunit: $(REBAR)
- $(REBAR) as test eunit
- .PHONY: xref
- xref: $(REBAR)
- $(REBAR) xref
- .PHONY: cover
- cover: $(REBAR)
- $(REBAR) cover
- .PHONY: clean
- clean: distclean
- .PHONY: distclean
- distclean:
- @rm -rf _build
- @rm -f data/app.*.config data/vm.*.args rebar.lock
- .PHONY: rel
- rel: $(REBAR)
- $(REBAR) emqx_plugrel tar
|