Merge pull request #52 from sherylynn/master

更新gitbook版本,避免由node新版本而产生安装问题,并增加了windows下构建gitbook的批处理
pull/53/head
Xargin 2018-03-01 17:26:10 +08:00 committed by GitHub
commit d2ca195e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{
"gitbook": "2.x",
"gitbook": "3.x",
"title": "Go语言圣经",
"description": "<The Go Programming Language>中文版",
"language": "zh-hans",

9
make.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
cls
setlocal EnableDelayedExpansion
rem gitbook install
rem &^ 批处理运行gitbook会中断命令 所以用&链接,用^处理换行
go run update_version.go
gitbook build &^
go run fix-data-revision.go &^
go run builder.go