Skip to content

Commit

Permalink
koapp should be functional now...
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorton committed May 11, 2011
1 parent edffd9f commit 3cfb5a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "system"]
path = system
url = https://github.com/kohana/core.git
15 changes: 8 additions & 7 deletions koapp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -49,22 +49,20 @@ set_app_path()
fi fi


# Use app name # Use app name
echo "Using $APP_NAME as application path..." echo "Using $app_path as application path..."
} }




create_app_path() create_app_path()
{ {
if [ ! -d "$1" ]; if [ ! -d "$app_path" ];
then then
# Create folder in application path # Create folder in application path
echo "Creating application path..." echo "Creating application path..."
mkdir -p $1 mkdir -p $app_path
fi fi
} }


# Go go go...
cd $APP_NAME


create_folder_structure() create_folder_structure()
{ {
Expand Down Expand Up @@ -195,8 +193,10 @@ commit_git()


install() install()
{ {
echo $1
set_app_path $1 set_app_path $1
create_app_path create_app_path
cd $1
create_folder_structure create_folder_structure
install_bootstrap install_bootstrap
install_index install_index
Expand All @@ -206,12 +206,13 @@ install()
install_orm install_orm
install_db install_db
update_submodules update_submodules

commit_git

echo "" echo ""
echo "Installed." echo "Installed."
} }


if [ "$1" ]; if [ "$1" ];
then then
$1 $1 $2
fi fi
1 change: 1 addition & 0 deletions system
Submodule system added at ed12c1

0 comments on commit 3cfb5a5

Please sign in to comment.