deps.tex 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. \section{Dependencies}
  2. \subsection{OTP Compliant}
  3. mad supports rebar umbrella project structure.
  4. Specifically two kinds of directory layouts:
  5. \vspace{1\baselineskip}
  6. \begin{lstlisting}[caption=Solution]
  7. +-- apps
  8. +-- deps
  9. +-- rebar.config
  10. +-- sys.config
  11. \end{lstlisting}
  12. \vspace{1\baselineskip}
  13. \vspace{1\baselineskip}
  14. \begin{lstlisting}[caption=OTP Application]
  15. +-- deps
  16. +-- ebin
  17. +-- include
  18. +-- priv
  19. +-- src
  20. +-- rebar.config
  21. \end{lstlisting}
  22. \vspace{1\baselineskip}
  23. \subsection{Apps Ordering}
  24. As you may know you can create OTP releases with
  25. reltool (rebar generate) or systools (relx). mad currently
  26. creates releases with relx but is going to do it independently soon.
  27. Now it can only order applications.
  28. \vspace{1\baselineskip}
  29. \begin{lstlisting}
  30. # mad plan
  31. Ordered: [kernel,stdlib,mnesia,kvs,crypto,cowlib,ranch,
  32. cowboy,compiler,syntax_tools,erlydtl,gproc,
  33. xmerl,n2o,n2o_sample,fs,active,mad,rest,sh]
  34. \end{lstlisting}
  35. \vspace{1\baselineskip}