README: Remove deprecated install target and check for go in setup

seems like i removed that target at some point and forgot to update the
readme. As installing go is os specific let's just check for go instead and
let the user handle the installing.
This commit is contained in:
Niklas Fasching 2022-03-19 18:37:06 +01:00
parent 3d26e96974
commit fa13957511
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ test:
.PHONY: setup
setup:
git config core.hooksPath etc/githooks
command -v go > /dev/null || (echo "go not installed" && false)
.PHONY: preview
preview: generate

View file

@ -27,7 +27,7 @@ Commands:
** as a library
see [[https://github.com/niklasfasching/go-org/blob/master/main.go][main.go]] and hugo [[https://github.com/gohugoio/hugo/blob/master/markup/org/convert.go][org/convert.go]]
* development
1. =make setup install=
1. =make setup=
2. change things
3. =make preview= (regenerates fixtures & shows output in a browser)