api.hrl 887 B

12345678910111213141516171819202122
  1. -define(MAD,[compile/1,app/1,get/1,release/1,resolve/1,clean/1,
  2. start/1,attach/1,stop/1,sh/1,deps/1,up/1,fetch/1,
  3. static/1,eunit/1,strip/1]).
  4. -type return() :: [] | true | false | {ok,any()} | {error,any()}.
  5. -spec compile(list(string())) -> return().
  6. -spec app(list(string())) -> return().
  7. -spec get(list(string())) -> return().
  8. -spec release(list(string())) -> return().
  9. -spec resolve(list(string())) -> return().
  10. -spec clean(list(string())) -> return().
  11. -spec start(list(string())) -> return().
  12. -spec attach(list(string())) -> return().
  13. -spec stop(list(string())) -> return().
  14. -spec sh(list(string())) -> return().
  15. -spec deps(list(string())) -> return().
  16. -spec up(list(string())) -> return().
  17. -spec fetch(list(string())) -> return().
  18. -spec static(list(string())) -> return().
  19. -spec eunit(list(string())) -> return().
  20. -spec strip(list(string())) -> return().