Skip to content
/ erlbuild Public

The first version polls a configured directory, compiles the source and load the changes

Notifications You must be signed in to change notification settings

ulfa/erlbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is erlbuild and for what is it good?

erlbuild is a developer tool which reduce the cycle of comiling code, testing code and reloading code. Everthing the developer has to do is to save his(her) source file and erlbuild will do the rest for you.

Status

  • support of erlang source files in the src directory
  • support of erlydtl *.dtl files in the templates directory

Configuration

To configure erlbuild for your project, you only have to configure the dependency and start erlbuild.

rebar.config

If you already have a rebar.config file, than insert the erlbuild dependency into the config file.

{deps, [ {erlbuild, ".*", {git, "[email protected]:ulfa/erlbuild.git", "HEAD"}} ]}.

How to start erlbuild

To start erlbuild you can do the following :

  • in the shell : application:start(erlbuild)
  • when you start the erlang shell erl -pa $PWD/ebin $PWD/test $PWD/deps/*/ebin -boot start_sasl -s erlbuild

ToDos

Before erlbuild will compile and reload the first time, you have to compile your sources once. After this, erlbuild will do the job for you.

Second issue.

When the beam is not loaded, only compiled into the ebin directory and then you edit and make a mistake. The src file won't be compiled again, because the cc_file_poller is buggy.

About

The first version polls a configured directory, compiles the source and load the changes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published