Browse Source

more bugfixes, but does sill not work

git-svn-id: http://erlydtl.googlecode.com/svn/trunk@14 a5195066-8e3e-0410-a82a-05b01b1b9875
rsaccon 17 years ago
parent
commit
22e4824117
3 changed files with 2 additions and 21 deletions
  1. 1 1
      Makefile
  2. 0 19
      src/erlydtl/erlydtl.app
  3. 1 1
      src/erlydtl/erlydtl_app.erl

+ 1 - 1
Makefile

@@ -9,7 +9,7 @@ all:
 	if [ ! -e ebin/$(APP_NAME).app ]; then cp -f src/$(APP_NAME)/$(APP_NAME).app.src ebin/$(APP_NAME).app; fi )	
 
 run:
-	$(ERL) -pa `pwd`/ebin
+	$(ERL) -pa `pwd`/ebin -s $(APP_NAME)
 	
 clean:
 	rm -fv ebin/*.beam

+ 0 - 19
src/erlydtl/erlydtl.app

@@ -1,19 +0,0 @@
-{application, erlydtl,
- [{description, "ErlyDTL Server"},
-  {vsn, "0.1"},
-  {modules, [
-    erlydtl,
-    erlydtl_app,
-    erlydtl_sup,
-    erlydtl_parser,
-    erlydtl_scanner,
-    erlydtl_tool
-  ]},
-  {registered, []},
-  {applications, [
-    kernel,
-    stdlib
-  ]},
-  {included_applications, []},
-  {env, []},
-  {mod, {erlydtl_app, []}}]}.

+ 1 - 1
src/erlydtl/erlydtl_app.erl

@@ -53,7 +53,7 @@
 %% @end 
 %%--------------------------------------------------------------------
 start(_Type, StartArgs) ->
-    skast_sup:start_link(StartArgs).
+    erlydtl_sup:start_link(StartArgs).
 
 %%--------------------------------------------------------------------
 %% @spec stop(State) -> void()