Kaynağa Gözat

Add version annotations to scripts

This lets tools like mix figure out which version is in path without
invoking rebar3 itself.
v3.13 3.13.2
Fred Hebert 5 yıl önce
ebeveyn
işleme
73c36138ff
4 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. +1
    -1
      bootstrap
  2. +1
    -0
      rebar.config
  3. +1
    -1
      src/rebar.app.src
  4. +2
    -1
      src/rebar_prv_local_install.erl

+ 1
- 1
bootstrap Dosyayı Görüntüle

@ -35,7 +35,7 @@ main(_) ->
bootstrap_rebar3(),
%% Build rebar.app from rebar.app.src
{ok, App} = rebar_app_info:new(rebar, "3.13.0", filename:absname("_build/default/lib/rebar/")),
{ok, App} = rebar_app_info:new(rebar, "3.13.2", filename:absname("_build/default/lib/rebar/")),
rebar_otp_app:compile(rebar_state:new(), App),
%% Because we are compiling files that are loaded already we want to silence

+ 1
- 0
rebar.config Dosyayı Görüntüle

@ -23,6 +23,7 @@
]}.
{escript_name, rebar3}.
{escript_comment, "%%Rebar3 3.13.2\n"}.
{escript_emu_args, "%%! +sbtu +A1\n"}.
%% escript_incl_extra is for internal rebar-private use only.
%% Do not use outside rebar. Config interface is not stable.

+ 1
- 1
src/rebar.app.src Dosyayı Görüntüle

@ -3,7 +3,7 @@
{application, rebar,
[{description, "Rebar: Erlang Build Tool"},
{vsn, "3.13.0"},
{vsn, "3.13.2"},
{modules, []},
{registered, []},
{applications, [kernel,

+ 2
- 1
src/rebar_prv_local_install.erl Dosyayı Görüntüle

@ -62,8 +62,9 @@ format_error(Reason) ->
io_lib:format("~p", [Reason]).
bin_contents(OutputDir) ->
{ok, Vsn} = application:get_key(rebar, vsn),
<<"#!/usr/bin/env sh
## Rebar3 ", (iolist_to_binary(Vsn))/binary, "
erl -pz ", (rebar_utils:to_binary(OutputDir))/binary,"/*/ebin +sbtu +A1 -noshell -boot start_clean -s rebar3 main $REBAR3_ERL_ARGS -extra \"$@\"
">>.

Yükleniyor…
İptal
Kaydet