1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

using the next branch

This commit is contained in:
Carlos Alexandro Becker 2017-09-10 21:11:37 -03:00
parent 062115e4f0
commit 6c4ad8b783
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -47,8 +47,22 @@ ci: test lint
build:
go build
HIGHLIGHT=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0
# Generate the static documentation
static:
@static-docs -in docs -out ../goreleaser.github.io -title GoReleaser -subtitle "Deliver Go binaries as fast and easily as possible"
@static-docs \
--in docs \
--out ../goreleaser.github.io \
--title GoReleaser \
--subtitle "Deliver Go binaries as fast and easily as possible" \
--google UA-106198408-1 \
--script "$(HIGHLIGHT)/highlight.min.js" \
--script "$(HIGHLIGHT)/languages/go.min.js" \
--script "$(HIGHLIGHT)/languages/yaml.min.js" \
--style "$(HIGHLIGHT)/styles/atom-one-dark.min.css" \
--inline-script 'hljs.initHighlightingOnLoad();' \
--inline-style 'pre { padding: 0; }'
.DEFAULT_GOAL := build