1 Star 16 Fork 6

EMQX/emqtt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 980 Bytes
一键复制 编辑 原始数据 按行查看 历史
CT_NODE_NAME = ct@127.0.0.1
CT_EMQX_PROFILE = emqx
REBAR ?= $(or $(shell which rebar3 2>/dev/null),$(CURDIR)/rebar3)
REBAR_TEST = env PROFILE=$(CT_EMQX_PROFILE) $(REBAR)
REBAR_URL := https://github.com/erlang/rebar3/releases/download/3.19.0/rebar3
export REBAR_GIT_CLONE_OPTIONS += --depth=1
all: emqtt
$(REBAR):
curl -fsSL "$(REBAR_URL)" -o $@
chmod +x $@
emqtt: $(REBAR) escript
$(REBAR) as emqtt release
pkg: escript
$(REBAR) as emqtt_pkg release
make -C packages
compile: $(REBAR)
$(REBAR) compile
unlock:
$(REBAR) unlock
clean: distclean
distclean:
@rm -rf _build _packages erl_crash.dump rebar3.crashdump rebar.lock emqtt_cli rebar3
xref:
$(REBAR) xref
eunit: compile
$(REBAR_TEST) eunit --verbose
ct: compile
$(REBAR_TEST) as test ct --verbose --name $(CT_NODE_NAME)
cover:
$(REBAR_TEST) cover
test: eunit ct cover
dialyzer:
$(REBAR) dialyzer
escript: $(REBAR) compile
$(REBAR) as escript escriptize
relup-test: ${REBAR}
bin/appup_test.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Erlang
1
https://gitee.com/emqx/emqtt.git
git@gitee.com:emqx/emqtt.git
emqx
emqtt
emqtt
master

搜索帮助