From 7ca3f52819fbeadbe112d97656a2c7e8db6e8c7a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 20 Sep 2020 14:31:12 +0100 Subject: [PATCH] chore: add Makefile with new_version target --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13854db --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +.PHONY: new-version +new-version: + $(if $(shell which npx),,\ + $(error No npx found in PATH, please install NodeJS)) + $(if $(shell which standard-version),,\ + $(error No standard-version found in PATH, install with: \ + npm install -g standard-version)) + + npx standard-version