Jelajahi Sumber

Merge branch 'EMQX-9549-new-emqx-utils-app-to-collect-utility-modules' of github.com:sstrigler/emqx into EMQX-9549-new-emqx-utils-app-to-collect-utility-modules

Stefan Strigler 2 tahun lalu
induk
melakukan
17d84fb5e0
4 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 3 3
      apps/emqx_utils/README.md
  2. 1 1
      apps/emqx_utils/src/emqx_utils.app.src
  3. 1 1
      mix.exs
  4. 1 1
      rebar.config.erl

+ 3 - 3
apps/emqx_utils/README.md

@@ -1,10 +1,10 @@
-# emqx_utils - Erlang utility library for EMQ X
+# Erlang utility library for EMQX
 
 
 ## Overview
 ## Overview
 
 
-`emqx_utils` is a collection of utility functions for EMQ X, organized into
+`emqx_utils` is a collection of utility functions for EMQX, organized into
 several modules. It provides various functionalities to make it easier to work
 several modules. It provides various functionalities to make it easier to work
-with EMQ X, such as binary manipulations, maps, JSON en- and decoding, ets table
+with EMQX, such as binary manipulations, maps, JSON en- and decoding, ets table
 handling, data conversions, and more.
 handling, data conversions, and more.
 
 
 ## Features
 ## Features

+ 1 - 1
apps/emqx_utils/src/emqx_utils.app.src

@@ -1,6 +1,6 @@
 %% -*- mode: erlang -*-
 %% -*- mode: erlang -*-
 {application, emqx_utils, [
 {application, emqx_utils, [
-    {description, "An OTP application"},
+    {description, "Miscellaneous utilities for EMQX apps"},
     % strict semver, bump manually!
     % strict semver, bump manually!
     {vsn, "5.0.0"},
     {vsn, "5.0.0"},
     {modules, [
     {modules, [

+ 1 - 1
mix.exs

@@ -303,7 +303,7 @@ defmodule EMQXUmbrella.MixProject do
         tools: :load,
         tools: :load,
         covertool: :load,
         covertool: :load,
         system_monitor: :load,
         system_monitor: :load,
-        emqx_utils: :permanent,
+        emqx_utils: :load,
         emqx_http_lib: :permanent,
         emqx_http_lib: :permanent,
         emqx_resource: :permanent,
         emqx_resource: :permanent,
         emqx_connector: :permanent,
         emqx_connector: :permanent,

+ 1 - 1
rebar.config.erl

@@ -391,7 +391,7 @@ relx_apps(ReleaseType, Edition) ->
             {covertool, load},
             {covertool, load},
             % started by emqx_machine
             % started by emqx_machine
             {system_monitor, load},
             {system_monitor, load},
-            emqx_utils,
+            {emqx_utils, load},
             emqx_http_lib,
             emqx_http_lib,
             emqx_resource,
             emqx_resource,
             emqx_connector,
             emqx_connector,