mochiweb-merge / priv / skel / src / Makefile

include ../support/include.mk

APPLICATION=skel
DOC_OPTS={dir,\"../doc\"}
TEST_PLT=$(TEST_DIR)/dialyzer_plt

all: $(EBIN_FILES)

debug:
	$(MAKE) DEBUG=-DDEBUG

clean:
	rm -rf $(EBIN_FILES)

edoc:
	$(ERL) -noshell -pa ../ebin \
		-eval "edoc:application($(APPLICATION), \".\", [$(DOC_OPTS)])" \
		-s init stop

test: $(EBIN_FILES)
	mkdir -p $(TEST_DIR);
	@../support/run_tests.escript $(EBIN_DIR) | tee $(TEST_DIR)/test.log

$(TEST_PLT):
	mkdir -p $(TEST_DIR)
	cp $(DIALYZER_PLT) $(TEST_PLT)
	dialyzer --plt $(TEST_PLT) --add_to_plt -r ../deps/*/ebin

clean_plt:
	rm $(TEST_PLT)

dialyzer: $(TEST_PLT)
	dialyzer --src --plt $(TEST_PLT) -DNOTEST -DDIALYZER -c ../src | tee $(TEST_DIR)/dialyzer.log
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.