From ccf12601ab2016a354ce6f1c3530b752e1bd8ccb Mon Sep 17 00:00:00 2001 From: Erin Millard Date: Sat, 23 Mar 2024 20:40:45 +1000 Subject: [PATCH] Add copy-example target to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 899bf23..65d5973 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,11 @@ GENERATED_FILES += ENVIRONMENT.md .PHONY: run-example run-example: artifacts/link-dependencies.touch - node --loader ts-node/esm test/fixture/example/run.ts + source test/fixture/example/invalid-values.sh; node --loader ts-node/esm test/fixture/example/run.ts + +.PHONY: copy-example +copy-example: artifacts/link-dependencies.touch + $(MAKE) run-example 2>&1 | pbcopy .PHONY: stryker stryker: artifacts/link-dependencies.touch