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

clean: depgraph doesnt work anymore

This commit is contained in:
Carlos Alexandro Becker 2018-10-31 00:02:22 -03:00 committed by Carlos Alexandro Becker
parent 570bd65dbd
commit e456a3fef6
4 changed files with 9 additions and 14 deletions

View File

@ -45,23 +45,17 @@ build:
.PHONY: build
# Generate the static documentation
static: depgraph favicon
static: favicon
@hugo --enableGitInfo --source www
.PHONY: static
# Generate the dependencies graph
depgraph:
GO111MODULE=off go get github.com/kisielk/godepgraph
godepgraph -horizontal -s -o github.com/goreleaser/goreleaser . | dot -Tsvg -o www/static/deps.svg
.PHONY: depgraph
favicon:
wget -O www/static/avatar.png https://avatars2.githubusercontent.com/u/24697112
convert www/static/avatar.png -define icon:auto-resize=64,48,32,16 www/static/favicon.ico
convert www/static/avatar.png -resize x120 www/static/apple-touch-icon.png
.PHONY: favicon
serve: depgraph favicon
serve: favicon
@hugo server --enableGitInfo --watch --source www
.PHONY: serve

View File

@ -7,8 +7,5 @@ weight: 998
This page will eventually have information for those who want to contribute
to the project.
Also check [CONTRIBUTING.md](https://github.com/goreleaser/goreleaser/blob/master/CONTRIBUTING.md).
## Package graph
[![](/deps.svg)](/deps.svg)
Also check the [CONTRIBUTING.md](https://github.com/goreleaser/goreleaser/blob/master/CONTRIBUTING.md)
file on the root of our repository.

View File

@ -8,3 +8,8 @@ Tutorials made by the community.
<!-- please, keep A-Z sorting -->
- [GoReleaser: build and push Snapcraft packages from TravisCI](https://carlosbecker.com/posts/goreleaser-snap-travis/)
Want to add your tutorial here? Please do! Edit [this file][tutorials] and open
a Pull Request! Thanks!
[tutorials]: https://github.com/goreleaser/goreleaser/blob/master/www/content/tutorials.md

View File

@ -1,4 +1,3 @@
deps.svg
avatar.png
apple-touch-icon.png
favicon.ico