mad_local.htm 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <html>
  2. <head>
  3. <meta charset="utf-8" />
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta name="description" content="" />
  7. <meta name="author" content="Maxim Sokhatsky" />
  8. <title>MAD LOCAL</title>
  9. <link rel="stylesheet" href="https://synrc.space/synrc.css" />
  10. </head>
  11. <body>
  12. <nav>
  13. <a href='https://n2o.space'>ECO</a>
  14. <a href='https://o7.network'>O7</a>
  15. <a href='../index.html'>MAD</a>
  16. </nav>
  17. <header>
  18. <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
  19. <h1>LOCAL</h1>
  20. </header>
  21. <main>
  22. <section>
  23. <h3>INTRO</h3>
  24. <p>MAD LOCAL profile implement MAD profile backend interface
  25. for POSIX environment and developer's purposes.</p>
  26. </section>
  27. <section>
  28. <h3>PROFILE</h3>
  29. <p>In sys.config you should specify kvs backend and list of modules
  30. containing <b>metainfo/0</b> exported function.</p>
  31. <figure><code>
  32. application:get_env(mad,profile,mad_local).
  33. </code></figure>
  34. <figure><code>
  35. -module(mad_local).
  36. -include("mad.hrl").
  37. -export(?MAD).
  38. compile(Params) -> mad_compile:compile(Params).
  39. app(Params) -> mad_static:app(Params).
  40. get(Params) -> mad_git:get_repo(Params).
  41. release(Params) -> mad_release:release(Params).
  42. resolve(Params) -> mad_resolve:main(Params).
  43. clean(Params) -> mad_run:clean(Params).
  44. start(Params) -> mad_run:start(Params).
  45. attach(Params) -> mad_run:attach(Params).
  46. stop(Params) -> mad_run:stop(Params).
  47. sh(Params) -> mad_repl:sh(Params).
  48. deps(Params) -> mad_git:deps(Params).
  49. up(Params) -> mad_git:up(Params).
  50. fetch(Params) -> mad_git:fetch(Params).
  51. static(Params) -> mad_static:main([],Params).
  52. eunit(Params) -> mad_eunit:main_test(Params).
  53. strip(Params) -> mad_strip:main(Params).
  54. </code></figure>
  55. </section>
  56. <section>
  57. <p>This module may refer to:
  58. <a href="mad.htm"><b>mad</b></a>.
  59. </p>
  60. </section>
  61. </main>
  62. <footer>
  63. 2005&mdash;2018 &copy; Synrc Research Center
  64. </footer>
  65. </body>
  66. </html>