fuzzyworld

template / commit

Slight changes to get make working on a mac.

2a2233504cf7f6f3605f7974b9e63bf9810f6627 · Pavel Safronov · 2022-10-05 20:43:16 -0700 · parents 763c260d1024

Slight changes to get make working on a mac.
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 280617a..d74e98d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
-SHELL := pwsh.exe
+SHELL := pwsh
 .SHELLFLAGS := -Command
 
-mkfile_path := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
 BINARY_NAME := template
 
 .PHONY: test
@@ -20,7 +19,7 @@ test_coverage:
 	go tool cover -html="./test/coverage.out" -o "./test/coverage.html"
 
 test_coverage_html: test_coverage
-	start "./test/coverage.html"
+	Invoke-Item "./test/coverage.html"
 
 clean:
 	go clean