mad_local.htm 2.0 KB

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