From fa1395751121f484305428db7694d01f47e787e8 Mon Sep 17 00:00:00 2001 From: Niklas Fasching Date: Sat, 19 Mar 2022 18:37:06 +0100 Subject: [PATCH] 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. --- Makefile | 1 + README.org | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7cb974d..a699205 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.org b/README.org index 0cf7a4b..4eec00e 100644 --- a/README.org +++ b/README.org @@ -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)