Skip to content

Commit

Permalink
new control module for php cask
Browse files Browse the repository at this point in the history
  • Loading branch information
videlalvaro committed May 12, 2010
1 parent 0a8b734 commit 584bef8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ebin/phpcask.app
Expand Up @@ -5,9 +5,10 @@
{modules, [ {modules, [
phpcask, phpcask,
phpcask_app, phpcask_app,
phpcask_sup phpcask_sup,
phpcask_control
]}, ]},
{registered, []}, {registered, [phpcask]},
{applications, [ {applications, [
kernel, kernel,
stdlib stdlib
Expand Down
9 changes: 9 additions & 0 deletions src/phpcask_control.erl
@@ -0,0 +1,9 @@
-module(phpcask_control).

-export([start/0, stop/0]).

start() ->
application:start(phpcask).

stop() ->
application:stop(phpcask).
2 changes: 1 addition & 1 deletion start-dev.sh
@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
cd `dirname $0` cd `dirname $0`


erl -pa $PWD/ebin -sname phpcask -s phpcask erl -pa $PWD/ebin -sname phpcask -s phpcask_control

0 comments on commit 584bef8

Please sign in to comment.