mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-12-25 14:28:58 +00:00
make support generate cover
This commit is contained in:
parent
2e10c73142
commit
d8ec4b0fce
7
Makefile
7
Makefile
@ -8,6 +8,8 @@
|
|||||||
# https://github.com/GitbookIO/gitbook
|
# https://github.com/GitbookIO/gitbook
|
||||||
# https://github.com/wastemobile/gitbook
|
# https://github.com/wastemobile/gitbook
|
||||||
|
|
||||||
|
# http://www.imagemagick.org/
|
||||||
|
|
||||||
default:
|
default:
|
||||||
gitbook build
|
gitbook build
|
||||||
|
|
||||||
@ -26,3 +28,8 @@ review:
|
|||||||
gitbook build
|
gitbook build
|
||||||
go run zh2tw.go . .md$$ zh2tw
|
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 |
Loading…
Reference in New Issue
Block a user