فهرست منبع

fix project structure

Feng Lee 10 سال پیش
والد
کامیت
af025d5625
2فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 0 1
      rebar.config
  2. 2 2
      rel/reltool.config

+ 0 - 1
rebar.config

@@ -20,7 +20,6 @@
 
 
 {sub_dirs, [
 {sub_dirs, [
     "rel",
     "rel",
-    "apps/*/",
     "plugins/*/"]}.
     "plugins/*/"]}.
 
 
 {deps, [
 {deps, [

+ 2 - 2
rel/reltool.config

@@ -1,7 +1,7 @@
 %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
 %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
 %% ex: ft=erlang ts=4 sw=4 et
 %% ex: ft=erlang ts=4 sw=4 et
 {sys, [
 {sys, [
-       {lib_dirs, ["../apps", "../deps", "../plugins"]},
+       {lib_dirs, ["../deps"]},
        {erts, [{mod_cond, derived}, {app_file, strip}]},
        {erts, [{mod_cond, derived}, {app_file, strip}]},
        {app_file, strip},
        {app_file, strip},
        {rel, "emqttd", git,
        {rel, "emqttd", git,
@@ -61,7 +61,7 @@
        {app, gproc, [{incl_cond, include}]},
        {app, gproc, [{incl_cond, include}]},
        {app, esockd, [{mod_cond, app}, {incl_cond, include}]},
        {app, esockd, [{mod_cond, app}, {incl_cond, include}]},
        {app, mochiweb, [{mod_cond, app}, {incl_cond, include}]},
        {app, mochiweb, [{mod_cond, app}, {incl_cond, include}]},
-       {app, emqttd, [{mod_cond, app}, {incl_cond, include}]}
+       {app, emqttd, [{mod_cond, app}, {incl_cond, include}, {lib_dir, ".."}]}
       ]}.
       ]}.
 
 
 {target_dir, "emqttd"}.
 {target_dir, "emqttd"}.