-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
0 parents
commit 0cc690e
Showing
3 changed files
with
66 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,57 @@ | ||
@echo off | ||
:hello | ||
title AutoInstall-Jekyll-Welcome! | ||
echo **************************** | ||
echo * AutoInstall-Jekyll * | ||
echo * Powered By KeJun * | ||
echo **************************** | ||
|
||
pause | ||
|
||
:checkruby | ||
title: AutoInstall-Jekyll-Check Ruby | ||
ruby -v | ||
|
||
if errorlevel 9009 goto installruby | ||
|
||
if errorlevel 0 goto checkjekyll | ||
|
||
:checkjekyll | ||
title: AutoInstall-Jekyll-Check Jekyll | ||
jekyll -v | ||
|
||
if errorlevel 9009 goto installjekyll | ||
|
||
if errorlevel 0 goto exitc | ||
|
||
:installruby | ||
title AutoInstall-Jekyll-Install Ruby24! | ||
echo Install Ruby | ||
pause | ||
rubyinstaller-2.4.1-1-x86.exe /silent | ||
cd C:\Ruby24\bin | ||
ruby.exe -v | ||
|
||
if errorlevel 9009 goto exits | ||
|
||
if errorlevel 0 goto checkjekyll | ||
|
||
:installjekyll | ||
|
||
title Install Jekyll 3 and bundler! | ||
|
||
echo Install Jekyll and bundler | ||
|
||
pause | ||
|
||
gem install bundler jekyll && pause | ||
|
||
echo Jekyll 3 and bundler installed successfully! | ||
|
||
:exits | ||
echo Installation failure! | ||
pause | ||
|
||
:exitc | ||
echo Congratulations installed successfully! | ||
pause |
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,9 @@ | ||
## Autoinstall Jekyll for windows | ||
|
||
``` | ||
git clone https://github.com/KeJunMao/fastjekyll.git | ||
``` | ||
|
||
click `install.bat` | ||
|
||
enjoy! |
Binary file not shown.