Created
June 16, 2014 14:02
-
-
Save hanikesn/3b36270e05900d786d88 to your computer and use it in GitHub Desktop.
Erlang Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env escript | |
%%! -sname enkidu_compile@localhost -pa deps/*/ebin apps/*/ebin debug verbose | |
main([_Module, _File]) -> | |
{ok, _Result} = rpc:call(enkidu@localhost, c ,c, [_File, [debug_info, fail_on_warning, {parse_transform, lager_transform}]]). | |
%rpc:call(enkidu@localhost, code ,purge, [list_to_atom(_Module)]), | |
%{module, _Result} = rpc:call(enkidu@localhost, code ,load_file, [list_to_atom(_Module)]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ERL_MAX_PORTS="10000" | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
cd ${DIR} | |
erl -sname "enkidu"@localhost +A 16 +K true +P 1000000 -pa deps/*/ebin apps/*/ebin -boot start_sasl -s lager -s ark_tracker_app -s ark_stats_app -s ark_control_app -config etc/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment