-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonas Windmolders
committed
Mar 24, 2015
1 parent
7a88a02
commit 0f8f094
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
If "%1"=="" GOTO INFO | ||
If "%1"=="install" GOTO INSTALL | ||
If "%1"=="update" GOTO UPDATE | ||
If "%1"=="dev" GOTO DEV | ||
If NOT "%1"=="" GOTO INFO | ||
|
||
:INSTALL | ||
md "web/uploads" | ||
call composer install | ||
echo composer done | ||
call npm install | ||
echo npm done | ||
call bower install | ||
echo bower done | ||
php app/console assets:install | ||
echo assets done | ||
call gulp build | ||
echo gulp done | ||
php app/console doctrine:schema:drop --force | ||
echo drop done | ||
php app/console doctrine:schema:create | ||
echo create done | ||
php app/console doctrine:fixtures:load -n | ||
echo fixtures done | ||
php app/console cache:clear | ||
echo clastic install is finished | ||
GOTO DONE | ||
:UPDATE | ||
call composer install | ||
echo composer done | ||
call npm install | ||
echo npm done | ||
call bower install | ||
echo composer done | ||
php app/console assets:install | ||
echo assests done | ||
call gulp build | ||
echo gulp done | ||
php app/console doctrine:schema:update --force | ||
echo update done | ||
php app/console doctrine:fixtures:load | ||
echo fixtures done | ||
php app/console cache:clear | ||
echo clastic update is finished | ||
GOTO DONE | ||
:DEV | ||
php app/console assets:install --symlink | ||
gulp watch & php app/console server:run | ||
GOTO DONE | ||
:DONE | ||
echo clastic is finished | ||
GOTO END | ||
:INFO | ||
@ECHO OFF | ||
echo make install ( = install clastic) | ||
echo make update ( = update clastic) | ||
echo make dev ( = start local server on port 8000) | ||
:END | ||
@ECHO ON |