Skip to content

Commit

Permalink
Fixed bug and added console task.
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed Dec 30, 2012
1 parent c969b52 commit aef5d4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ REBAR = $(shell pwd)/rebar
all: deps compile

version:
echo "-define(VERSION, <<\"$(shell git symbolic-ref HEA D 2> /dev/null | cut -b 12-)-$(shell git log --pretty=format:'%h, %ad' -1)\">>)." > src/libhowl_version.hrl
echo "-define(VERSION, <<\"$(shell git symbolic-ref HEAD 2> /dev/null | cut -b 12-)-$(shell git log --pretty=format:'%h, %ad' -1)\">>)." > src/libhowl_version.hrl

compile: version
$(REBAR) compile

Expand All @@ -31,6 +32,8 @@ docs:
## Developer targets
##

console: all
erl -pa ebin deps/*/ebin -s libhowl
xref:
$(REBAR) xref skip_deps=true

Expand Down

0 comments on commit aef5d4b

Please sign in to comment.