summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2012-06-04 08:56:51 -0600
committerDave Smith <dizzyd@dizzyd.com>2012-06-04 08:56:51 -0600
commit1c98f6ccd4adc915167d4302d732d79e4da3d390 (patch)
tree538b577468ef37900dc48527eb23b8cd76ae1102 /Makefile
parent0f24d9325659742da8b829fbd5b82ba0cec169da (diff)
Add binary target for pushing new build of rebar into rebar.wiki
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6f307c5..1fda878 100644
--- a/Makefile
+++ b/Makefile
@@ -20,3 +20,8 @@ dialyzer: dialyzer_warnings
dialyzer_warnings:
-@dialyzer -q -n ebin -Wunmatched_returns -Werror_handling \
-Wrace_conditions > dialyzer_warnings
+
+binary: VSN = $(shell ./rebar -V)
+binary: clean all
+ cp rebar ../rebar.wiki/rebar
+ (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar) \ No newline at end of file