diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-03-05 16:36:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 16:36:22 -0600 |
commit | f5a20250ae65c422a8f5de3415f484bca087abe1 (patch) | |
tree | b6b362ecf6e859a4e22832eadcec140e7f493715 /Makefile | |
parent | 35027305d1713df3ce87a14e7cc632e4e495e02a (diff) | |
download | gitea-f5a20250ae65c422a8f5de3415f484bca087abe1.tar.gz gitea-f5a20250ae65c422a8f5de3415f484bca087abe1.zip |
Add node version variable to docs (#10620)
Also adjusted other version mentions so go version is always mentioned
as major.minor and node only as major.
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -145,7 +145,7 @@ help: go-check: $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?[[:space:]]' | tr '.' ' ');)) @if [ "$(GO_VERSION)" -lt "001011000" ]; then \ - echo "Gitea requires Go 1.11.0 or greater to build. You can get it at https://golang.org/dl/"; \ + echo "Gitea requires Go 1.11 or greater to build. You can get it at https://golang.org/dl/"; \ exit 1; \ fi @@ -161,7 +161,7 @@ node-check: $(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?' | tr '.' ' ');)) $(eval NPM_MISSING := $(shell hash npm > /dev/null 2>&1 || echo 1)) @if [ "$(NODE_VERSION)" -lt "010000000" -o "$(NPM_MISSING)" = "1" ]; then \ - echo "Gitea requires Node.js 10.0.0 or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \ + echo "Gitea requires Node.js 10 or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \ exit 1; \ fi |