Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Autoloading of modules

View .erlang
1 2 3 4
%% autoload all modules that are in the code:path() and reside in the user directory
%% put in ~/.erlang
|| P <- lists:filter(fun(Path) -> string:str(Path, os:getenv("USER")) > 0 end, code:get_path()), F <- filelib:wildcard(P ++ "/*.beam")].
View .erlang
1 2 3
# Includes Rebar dependencies, make sure the beam files are up-to-date.
rebar get-deps compile
erl -pa `pwd`/ebin `pwd`/deps/*/ebin -boot start_sasl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.