Przeglądaj źródła

test(mix): add integration test path

Thales Macedo Garitezi 1 rok temu
rodzic
commit
818070ad44
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      apps/emqx/mix.exs

+ 9 - 0
apps/emqx/mix.exs

@@ -53,6 +53,15 @@ defmodule EMQX.MixProject do
     ] ++ UMP.quicer_dep()
   end
 
+  defp erlc_paths() do
+    paths = UMP.erlc_paths()
+    if UMP.test_env?() do
+      ["integration_test" | paths]
+    else
+      paths
+    end
+  end
+
   defp extra_dirs() do
     dirs = ["src", "etc"]
     if UMP.test_env?() do