limitations.asciidoc 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. == Limitations
  2. No software is perfect.
  3. It's very important, when evaluating and when using a tool,
  4. to understand its limitations, so as to avoid making mistakes
  5. and wasting valuable time.
  6. This chapter lists all known limitations of Erlang.mk.
  7. === Erlang must be available
  8. Currently Erlang.mk requires you to install Erlang beforehand.
  9. Installing Erlang is not always easy, particularly if you need
  10. a specific version of Erlang for a specific project.
  11. In addition, the Erlang being used must be in your `$PATH`
  12. before you use Erlang.mk.
  13. In the future we envision, Erlang.mk could manage the Erlang
  14. version you need to use a project. Erlang.mk already does this
  15. for running tests when using `make ci`, so doing this during
  16. development is just a step away.
  17. === Spaces in path
  18. Erlang.mk will currently not work properly if the path to the
  19. project contains spaces. To check if that is the case, use the
  20. command `pwd`.
  21. This issue is due to how Makefiles work. There might be ways
  22. to solve it, we have not given up on it, but it's very low
  23. priority considering how simple the workaround is.
  24. === Dependency tracking and modification times
  25. Erlang source files that depend on other files will have their
  26. modification time updated when they need to be recompiled due
  27. to a dependency having changed. This could cause some editors to
  28. think the file changed when it didn't.
  29. Erlang.mk must use this method in order to be able to compile
  30. files in one `erlc` invocation. The benefits greatly outweigh
  31. the issue in this case and so there are currently no plans to
  32. fix this behavior.