Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 33 lines (23 sloc) 0.561 kb
b2e3534 @evanmiller * Added unit test suite covering most tags that don't require file IO. P...
evanmiller authored
1 ERL=erl
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
2 ERLC=erlc
f84b2a8 @rsaccon initial commit
rsaccon authored
3
ae6bf4b @evanmiller Integrate new filters and tests from dgulino
evanmiller authored
4 PARSER=src/erlydtl_parser
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
5
d8db1a5 @hdima Run must depend on compile
hdima authored
6
7 all: compile
8
fc55d85 @hdima Tests must depend on compile
hdima authored
9 compile: $(PARSER).erl
48fea22 Implement "trans" tag with support for .po files
Evan Miller authored
10 -mkdir -p ebintest
27cac56 @rsaccon added optional "OutDir" argument to compile command
rsaccon authored
11 $(ERL) -make
f84b2a8 @rsaccon initial commit
rsaccon authored
12
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
13 $(PARSER).erl: $(PARSER).yrl
ae6bf4b @evanmiller Integrate new filters and tests from dgulino
evanmiller authored
14 $(ERLC) -o src src/erlydtl_parser.yrl
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
15
d8db1a5 @hdima Run must depend on compile
hdima authored
16 run: compile
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
17 $(ERL) -pa ebin
18
b2e3534 @evanmiller * Added unit test suite covering most tags that don't require file IO. P...
evanmiller authored
19
fc55d85 @hdima Tests must depend on compile
hdima authored
20 test: compile
48fea22 Implement "trans" tag with support for .po files
Evan Miller authored
21 $(ERL) -noshell -pa ebin -pa ebintest \
7a2813e @evanmiller * Run functional tests from "make test"
evanmiller authored
22 -s erlydtl_functional_tests run_tests \
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
23 -s erlydtl_dateformat_tests run_tests \
7a2813e @evanmiller * Run functional tests from "make test"
evanmiller authored
24 -s erlydtl_unittests run_tests \
6865a60 @evanmiller Recursively search for "trans" tags inside blocks.
evanmiller authored
25 -s sources_parser_unittests run_tests \
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
26 -s init stop
f84b2a8 @rsaccon initial commit
rsaccon authored
27
28 clean:
8bad98d @rsaccon server bugfixes
rsaccon authored
29 rm -fv ebin/*.beam
48fea22 Implement "trans" tag with support for .po files
Evan Miller authored
30 rm -fv ebintest/*
48b9b5f @gardenia Added "now" tag and associated associated dateformat module.
gardenia authored
31 rm -fv erl_crash.dump $(PARSER).erl
ae6bf4b @evanmiller Integrate new filters and tests from dgulino
evanmiller authored
32 rm -fv tests/output/*
Something went wrong with that request. Please try again.