Skip to content

Commit

Permalink
preparing to version 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Mar 20, 2016
1 parent 1a61e13 commit e2b4530
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: erlang
otp_release:
- 18.0
- R16B02
- R16B01
notifications:
email: false
irc: "chat.freenode.net#n2o"
script: "./mad get-deps compile"
script: "make"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default:
echo "-define(VERSION,\"`git rev-parse HEAD | head -c 6`\")." > include/mad.hrl
erlc -o ebin deps/ling/bc/*.erl || true
./mad cle dep com rel script mad
./mad cle dep com bun mad
2 changes: 1 addition & 1 deletion include/mad.hrl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-define(VERSION,"f2dfbc").
-define(VERSION,"1a61e1").
Binary file modified mad
Binary file not shown.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule MAD.Mixfile do

def project do
[app: :mad,
version: "0.9.0",
version: "2.3.0",
description: "Small and fast rebar replacement",
package: package]
end
Expand Down
4 changes: 2 additions & 2 deletions src/mad.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, mad,
[{description, "MAD VXZ Build Tool"},
{vsn, "1.9"},
[{description, "MAD Erlang/OTP Containers"},
{vsn, "2.3"},
{registered, []},
{applications, [kernel,stdlib,inets]},
{env, []}]}.
2 changes: 1 addition & 1 deletion src/mad.erl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ return(true) -> 1;
return(false) -> 0;
return(X) -> X.

host() -> Host = try {ok,H} = inet:gethostname(), H catch _:_ -> <<>> end.
host() -> try {ok,H} = inet:gethostname(), H catch _:_ -> <<>> end.

info(Format) -> io:format(lists:concat([Format,"\r"])).
info(Format,Args) -> io:format(lists:concat([Format,"\r"]),Args).
Expand Down

0 comments on commit e2b4530

Please sign in to comment.