From c1d86a05b9ede523a7f396a3e9557fa893bdb047 Mon Sep 17 00:00:00 2001 From: Martin Lowe Date: Tue, 18 May 2021 16:25:33 -0400 Subject: [PATCH] Add makefile for operations to simplify life --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..60e66df --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +install:; npm ci && npm run production +build:; npm run production && hugo server -s exampleSite --themesDir=../.. +release:; + rm -rf node_modules + rm package-lock.json + npm install + npm run production + git add . + git commit -m "prepare new release" -s \ No newline at end of file