forked from jadahl/www.jabber.se
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
31 lines (24 loc) · 849 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
compile:
mkdir -p ebin test_ebin
erl -pa ebin -make
clean:
rm -rf ./ebin/*.beam
all: compile
translations:
./tools/scan_translations.erl -t res/translations/ -i . -i include/ -s src/ -d
merge_translations:
./tools/scan_translations.erl -t res/translations/ -i . -i include/ -s src/
test:
@erl \
-noshell \
-name nitrogen_test@localhost \
-pa ./ebin -pa ./test_ebin -pa ./include \
-pa lib/nitrogen/apps/simple_bridge/ebin -pa lib/nitrogen/apps/simple_bridge/include \
-pa lib/nitrogen/apps/nitrogen/ebin -pa lib/nitrogen/apps/nitrogen/include \
-pa lib/couchbeam/ebin -pa lib/couchbeam/include \
-pa lib/couchbeam/deps/lhttpc/ebin \
-s make all \
-eval "tests:all_test()" \
-s init stop
dialyzer:
dialyzer --src -r src/ -pa lib/nitrogen/apps/nitrogen/ -pa lib/nitrogen/apps/simple_bridge/