mad_local.htm 2.2 KB

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