Created
June 18, 2012 20:15
-
-
Save fastmover/2950467 to your computer and use it in GitHub Desktop.
Batch File to quickly install lithium framework / lithium / and li3_users
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
:START | |
@echo off | |
SET /P Dir= Enter Name of Directory to Install Lithium Framework to | |
echo . | |
echo Installing Lithium Framework to ./%Dir% | |
START git clone https://github.com/UnionOfRAD/framework.git ./%Dir% | |
:WAITCLONE | |
SLEEP 1 | |
IF NOT EXIST ./%Dir%/libraries GOTO WAITCLONE | |
cd %Dir% | |
echo Initilizing Git Submodules | |
START git submodule init | |
SLEEP 1 | |
echo Installing Lithium Library | |
START git submodule update | |
:WAITUPDATE | |
SLEEP 2 | |
IF NOT EXIST ./libraries/lithium/core GOTO WAITUPDATE | |
:: Plugins and Modules here... | |
START git submodule add https://github.com/fastmover/li3_users.git libraries/li3_users | |
:WAITMODULE | |
SLEEP 1 | |
IF NOT EXIST ./libraries/li3_users GOTO WAITMODULE | |
cd .. | |
echo Successfully Installed. | |
@echo on | |
:END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment