---
Makefile | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index f63b48a..e4b18d1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VSN=1.0.0
+VSN=1.0.1
ERLC=/usr/local/bin/erlc
ERL=/usr/local/bin/erl
APPDIR= $(abspath ./_build/development/apps/sinan-$(VSN))
@@ -18,8 +18,8 @@ ERL_TEST_OBJ = $(patsubst test/%.erl,$(BEAMDIR)/%.beam,
$(wildcard $(TESTDIR)/*e
all: main
setup: $(COPYDIRS)
- for f in $^ ; do \
- mkdir -p $(APPDIR)/$$f ; \
+ for f in $^ ; do \
+ mkdir -p $(APPDIR)/$$f ; \
rsync $(RSYNC_OPTIONS) $$f $(APPDIR); \
done
mkdir -p $(APPDIR)/ebin;
@@ -28,16 +28,15 @@ setup: $(COPYDIRS)
main: setup ${ERL_OBJ} ${ERL_TEST_OBJ}
$(BEAMDIR)/%.beam: %.erl
-# +warn_unused_vars Both of these should be enabled but can't until
-# proper is fixed
erlc +warn_export_vars +warn_export_all \
+warn_obsolete_guard \
+warnings_as_errors +bin_opt_info +debug_info -W -o $(BEAMDIR) $<
-proper: main
- for f in ${ERL_TEST_OBJ} ; do \
- $(ERL) -noshell -pa $(BEAMDIR) -s proper module `basename $$f
.beam` -s init stop; \
- done
+cucumber: main
+ erl -pa $(BEAMDIR) -s sinan manual_start -s sinan main -extra -s
$(CURDIR) cucumber
+
+test: main
+ erl -pa $(BEAMDIR) -s sinan manual_start -s sinan main -extra -s
$(CURDIR) test
run: main
$(ERL) -pa $(BEAMDIR) -s sin_app manual_start
@@ -47,4 +46,4 @@ debug: main
clean:
rm -rf _build ;
- rm -rf erl_crush.dump
\ No newline at end of file
+ rm -rf erl_crush.dump
--
1.7.5.2
--
You received this message because you are subscribed to the Google Groups
"erlware-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/erlware-dev?hl=en.