Rebar: compiling only project files (no dependencies)

I am new to Erlang and Rebar and just created my first rebar project.

My development cycle is as follows:

  • Edit project files
  • Call rebar compileto recompile the project
  • Run the start.bat file to run and test my application.
  • Go to step 1 :-)

The problem is that rebar compileit seems to always compile project files and all the dependencies. And I already have quite a few dependencies, so compiling takes a lot of time and slows me down.

So the question is, is there a way to tell Armature to compile only my project files at a time rebar compile(but there are still dependencies visible for my compiled files)? My dependencies never change, so why should I recompile them every time?

Or maybe my whole process is completely wrong, and should I take a different approach to my development cycle?

+5
source share
1 answer
Fittings

has a flag skip_deps. This way you can compilerebar compile skip_deps=true

+6
source

All Articles