1 Star 0 Fork 3

passkey / go-ast-book

forked from amell / go-ast-book 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 711 Bytes
一键复制 编辑 原始数据 按行查看 历史
chai2010 提交于 2019-09-25 22:34 . 初稿
# Copyright 2016 <chaishushan{AT}gmail.com>. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#
# fix gitbook build error on macOS(node@8.x and gitbook@2.6.7)
#
# gitbook fetch 3.2.3
# gitbook build --gitbook=3.2.3
#
# https://github.com/GitbookIO/gitbook/issues/1774
# https://github.com/GitbookIO/gitbook-cli/blob/master/README.md
#
default:
gitbook build
zip:
git archive master > go-ast-book-master-$(shell date +'%Y.%m.%d').zip
macos:
gitbook build --gitbook=3.2.3
server:
go run server.go
cover:
convert -resize 1800x2360! cover.png cover.jpg
convert -resize 200x262! cover.png cover_small.jpg
clean:
-rm -rf _book
1
https://gitee.com/passkey/go-ast-book.git
git@gitee.com:passkey/go-ast-book.git
passkey
go-ast-book
go-ast-book
master

搜索帮助