Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7d62865fa4
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (22 sloc) 0.524 kb
ERL=erl
ERLC=erlc
PARSER=src/erlydtl/erlydtl_parser
APP=erlydtl.app
all: $(PARSER).erl ebin/$(APP)
$(ERL) -make
ebin/$(APP): src/erlydtl/$(APP)
cp $< $@
$(PARSER).erl: $(PARSER).yrl
$(ERLC) -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
run:
$(ERL) -pa ebin
test:
$(ERL) -noshell -pa ebin \
-s erlydtl_functional_tests run_tests \
-s erlydtl_dateformat_tests run_tests \
-s erlydtl_unittests run_tests \
-s init stop
clean:
rm -fv ebin/*.beam
rm -fv ebin/$(APP)
rm -fv erl_crash.dump $(PARSER).erl
Jump to Line
Something went wrong with that request. Please try again.