From 0f24d9325659742da8b829fbd5b82ba0cec169da Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Mon, 4 Jun 2012 08:46:17 -0600 Subject: Move to major.minor.patch release version; add OTP build version version info --- bootstrap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index e86ad8e..c8a40de 100755 --- a/bootstrap +++ b/bootstrap @@ -24,12 +24,16 @@ main(Args) -> false -> undefined end, + %% Extract the system info of the version of OTP we use to compile rebar + OtpInfo = string:strip(erlang:system_info(otp_release), both, $\n), + %% Compile all src/*.erl to ebin case make:files(filelib:wildcard("src/*.erl"), [{outdir, "ebin"}, {i, "include"}, DebugFlag, {d, 'BUILD_TIME', Built}, - {d, 'VCS_INFO', VcsInfo}]) of + {d, 'VCS_INFO', VcsInfo}, + {d, 'OTP_INFO', OtpInfo}]) of up_to_date -> ok; error -> -- cgit v1.1