Permalink
Browse files

Adding an erlydtl app file.

Signed-off-by: Christian <chsu79@gmail.com>
  • Loading branch information...
archaelus authored and noss committed Mar 4, 2009
1 parent e926041 commit beed8433f1498ce8768dbcac1a808cdae41c2247
Showing with 24 additions and 2 deletions.
  1. +5 −2 Makefile
  2. +19 −0 src/erlydtl/erlydtl.app
View
@@ -3,11 +3,14 @@ ERLC=erlc
PARSER=src/erlydtl/erlydtl_parser
-all: $(PARSER).erl
+all: $(PARSER).erl ebin/erlydtl.app
$(ERL) -make
$(PARSER).erl: $(PARSER).yrl
$(ERLC) -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
+
+ebin/erlydtl.app: src/erlydtl/erlydtl.app
+ @cp -v $< $@
run:
$(ERL) -pa ebin
@@ -21,5 +24,5 @@ test:
-s init stop
clean:
- rm -fv ebin/*.beam
+ rm -fv ebin/*.beam ebin/erlydtl.app
rm -fv erl_crash.dump $(PARSER).erl
View
@@ -0,0 +1,19 @@
+{application, erlydtl,
+ [{description, "Django like templating library for Erlang"},
+ {vsn, "0.1"},
+ {applications, [kernel, stdlib, crypto]},
+ {modules, [
+ erlydtl
+ ,erlydtl_compiler
+ ,erlydtl_dateformat
+ ,erlydtl_dateformat_tests
+ ,erlydtl_deps
+ ,erlydtl_example_variable_storage
+ ,erlydtl_filters
+ ,erlydtl_functional_tests
+ ,erlydtl_parser
+ ,erlydtl_runtime
+ ,erlydtl_scanner
+ ,erlydtl_unittests
+ ]}
+ ]}.

0 comments on commit beed843

Please sign in to comment.