Permalink
Browse files

.app file. Thanks to seth.

  • Loading branch information...
1 parent 61e3c45 commit 55405b94a63a248847367b57cc48d3b0957f2f0f @evanmiller evanmiller committed May 22, 2009
Showing with 30 additions and 1 deletion.
  1. +5 −1 Makefile
  2. +25 −0 src/erlydtl/erlydtl.app
View
@@ -2,10 +2,14 @@ ERL=erl
ERLC=erlc
PARSER=src/erlydtl/erlydtl_parser
+APP=erlydtl.app
-all: $(PARSER).erl
+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
@@ -0,0 +1,25 @@
+%% -*- mode: erlang -*-
+{application, erlydtl,
+ [{description, "ErlyDTL implements most but not all of the Django Template Language"},
+ {vsn, "0.5.3"},
+ {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
+ ]},
+ {applications, [kernel, stdlib]},
+ {registered, []}
+ ]}.
+
+
+
+

0 comments on commit 55405b9

Please sign in to comment.