mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-08-03 14:32:38 +00:00
make support generate cover
This commit is contained in:
7
Makefile
7
Makefile
@@ -8,6 +8,8 @@
|
||||
# https://github.com/GitbookIO/gitbook
|
||||
# https://github.com/wastemobile/gitbook
|
||||
|
||||
# http://www.imagemagick.org/
|
||||
|
||||
default:
|
||||
gitbook build
|
||||
|
||||
@@ -26,3 +28,8 @@ review:
|
||||
gitbook build
|
||||
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
|
||||
|
||||
|
BIN
cover_patch.png
Normal file
BIN
cover_patch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Reference in New Issue
Block a user