1 Star 0 Fork 1

鬼喊捉鬼 / gopl-zh.github.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
chai2010 提交于 2016-02-15 11:35 . 增加打包脚本
# Copyright 2015 Golang-China. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# install gitbook
# npm install gitbook-cli -g
# https://github.com/GitbookIO
# https://github.com/GitbookIO/gitbook
# https://github.com/GitbookIO/plugin-katex
# https://github.com/wastemobile/gitbook
# http://www.imagemagick.org/
default:
go run update_version.go
gitbook build
go run fix-data-revision.go
go run builder.go
zh2tw:
go run zh2tw.go . .md$$
tw2zh:
go run zh2tw.go . .md$$ tw2zh
loop:
go run zh2tw.go . .md$$ tw2zh
go run zh2tw.go . .md$$ zh2tw
cover:
composite cover_patch.png cover_bgd.png cover.jpg
convert -resize 1800x2360! cover.jpg cover.jpg
convert -resize 200x262! cover.jpg cover_small.jpg
convert -resize 400x524! cover.jpg cover_middle.jpg
convert -quality 75% cover.jpg cover.jpg
convert -quality 75% cover_small.jpg cover_small.jpg
convert -quality 75% cover_middle.jpg cover_middle.jpg
convert -strip cover.jpg cover.jpg
convert -strip cover_small.jpg cover_small.jpg
convert -strip cover_middle.jpg cover_middle.jpg
1
https://gitee.com/guihanzhuogui/gopl-zh.github.com.git
git@gitee.com:guihanzhuogui/gopl-zh.github.com.git
guihanzhuogui
gopl-zh.github.com
gopl-zh.github.com
master

搜索帮助