فهرست منبع

fix(bpapi): Compile the code in check profile before running xref

ieQu1 3 سال پیش
والد
کامیت
ace6ad25e9
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Makefile
  2. 1 1
      apps/emqx/test/emqx_bpapi_static_checks.erl

+ 1 - 1
Makefile

@@ -73,7 +73,7 @@ ct: $(REBAR) conf-segs
 
 .PHONY: static_checks
 static_checks:
-	@$(REBAR) as check do xref, dialyzer, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE)
+	@$(REBAR) as check do dialyzer, xref, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE)
 
 APPS=$(shell $(CURDIR)/scripts/find-apps.sh)
 

+ 1 - 1
apps/emqx/test/emqx_bpapi_static_checks.erl

@@ -218,7 +218,7 @@ dump() ->
     case
         {
             filelib:wildcard(project_root_dir() ++ "/*_plt"),
-            filelib:wildcard(project_root_dir() ++ "/_build/emqx*/lib")
+            filelib:wildcard(project_root_dir() ++ "/_build/check/lib")
         }
     of
         {[PLT | _], [RelDir | _]} ->