Commits

Anonymous committed 32b0ac9

.app file. Thanks to seth.

  • Participants
  • Parent commits 609c7ad

Comments (0)

Files changed (2)

 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
  

File src/erlydtl/erlydtl.app

+%% -*- 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, []}
+ ]}.
+
+
+
+