From 58141e71eab07ab9fe0c85b260a7aebe3cd290a9 Mon Sep 17 00:00:00 2001 From: Anton Lavrik Date: Sun, 10 Mar 2013 04:16:35 -0500 Subject: [PATCH] Use skip_deps=true when running "rebar clean" in examples So that we don't clean the project build when cleanning the examples builds --- examples/addressbook/Makefile | 2 +- examples/custom-types/Makefile | 5 ++++- examples/untyped-json-xml/Makefile | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/addressbook/Makefile b/examples/addressbook/Makefile index 0f2dd96..d4ad259 100644 --- a/examples/addressbook/Makefile +++ b/examples/addressbook/Makefile @@ -24,7 +24,7 @@ dialyzer: all clean: - $(REBAR) clean + $(REBAR) clean skip_deps=true rm -f addressbook.piq.pb addressbook.pb.piq l1 l2 diff --git a/examples/custom-types/Makefile b/examples/custom-types/Makefile index beba3a1..2c580b7 100644 --- a/examples/custom-types/Makefile +++ b/examples/custom-types/Makefile @@ -8,12 +8,15 @@ all: $(REBAR) compile +test: + + dialyzer: all dialyzer deps/piqi/ebin ./ebin clean: - $(REBAR) clean + $(REBAR) clean skip_deps=true distclean: clean diff --git a/examples/untyped-json-xml/Makefile b/examples/untyped-json-xml/Makefile index c3f4a69..8c71376 100644 --- a/examples/untyped-json-xml/Makefile +++ b/examples/untyped-json-xml/Makefile @@ -17,7 +17,7 @@ dialyzer: all clean: - $(REBAR) clean + $(REBAR) clean skip_deps=true distclean: clean