Permalink
Browse files

Comment configuration file template

  • Loading branch information...
1 parent 274a3b2 commit 884259bac09385b2ee177d7c21985db3ae03a482 charpi committed Jan 24, 2010
Showing with 10 additions and 3 deletions.
  1. +10 −3 rakelib/erlang.rake
View
@@ -11,11 +11,18 @@ else
puts "You need to fill it with your local configuration."
puts "An sample has been generated for you."
File.open("erlang_config.rb",'w') do |file|
- file.write("ERL_TOP=\"<path to your erlang installation>\"\n")
- file.write("ERLC_FLAGS=\"\"\n")
- file.write("ERL_FLAGS=\"\"\n")
+ file.write("#ERL_TOP is the location of the erlang installation.\n")
+ file.write("ERL_TOP=\"/usr/local/lib/erlang\"\n")
+ file.write("#USE_EMAKE tells erl_rake how to compile erlang sources.\n")
+ file.write("#Valid values are true and false.\n")
file.write("USE_EMAKE=false\n")
+ file.write("#ERLC_FLAGS are the flags to be passed to the compiler ERLC.\n")
+ file.write("ERLC_FLAGS=\"\"\n")
+ file.write("#EMAKE_COMPILE_OPTIONS are the flags to be passed to the EMAKE.\n")
file.write("EMAKE_COMPILE_OPTIONS = []\n")
+ file.write("#ERL_FLAGS are the flags to be passed to ERL when erl_rake\n")
+ file.write("#start a node.\n")
+ file.write("ERL_FLAGS=\"\"\n")
end
exit(-1)
end

0 comments on commit 884259b

Please sign in to comment.