Namdak Tonpa 9 years ago
parent
commit
ae21eb837d
4 changed files with 3 additions and 6 deletions
  1. 1 4
      doc/bundles.tex
  2. 1 1
      include/mad.hrl
  3. BIN
      mad
  4. 1 1
      src/package/mad_systools.erl

+ 1 - 4
doc/bundles.tex

@@ -29,10 +29,7 @@ function defined, which will boot up the bundle. This function could be like tha
 \vspace{1\baselineskip}
 \begin{lstlisting}
      -module(app_name).
-
-     main(Params) ->
-          RebarConfig = [],
-          mad_repl:main(Params,RebarConfig).
+     main(Params) -> mad_repl:sh(Params).
 \end{lstlisting}
 \vspace{1\baselineskip}
 

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"a000fd").
+-define(VERSION,"2c1413").

BIN
mad


+ 1 - 1
src/package/mad_systools.erl

@@ -44,7 +44,7 @@ beam_release(N) ->
     {Release,Apps} = release(N),
     file:write_file(N ++ ".rel",io_lib:format("~p.",[Release])),
     Res = systools:make_script(N),
-    systools:make_tar(N),
+%    systools:make_tar(N),
     Files = [ {"/bin/" ++ filename:basename(F), F}
         || F <- mad_repl:wildcards([code:root_dir() ++
             "/erts-" ++ erlang:system_info(version) ++