From 26b42ba4fb819685ca4f1200a74a4ff0cebe0e7c Mon Sep 17 00:00:00 2001 From: Zied Yousfi Date: Sat, 14 Mar 2026 09:38:49 +0000 Subject: [PATCH 1/3] feat(Makefile): add the makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3d6febd --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +.PHONY: test dry-run + +test: + go test ./... + +testjs: + cd test_js && go run .. --dry-run && cd .. From 4e680ba1e1aafdac6a06a5150db97a0a9f45684f Mon Sep 17 00:00:00 2001 From: Zied Yousfi Date: Sat, 14 Mar 2026 10:52:33 +0100 Subject: [PATCH 2/3] feat(Makefile): add 'all' target and improve JS test command - Added an all target to run test and test_js for convenience. - Updated the test_js target: invokes go run with --dry-run and --verbose flags for improved output. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3d6febd..eea3071 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ .PHONY: test dry-run +all: test test_js + test: go test ./... testjs: - cd test_js && go run .. --dry-run && cd .. + cd test_js && go run .. --dry-run --verbose From fdd8799d08df9a834452a3a791a750a8193d0c24 Mon Sep 17 00:00:00 2001 From: Zied Yousfi Date: Sat, 14 Mar 2026 10:54:20 +0100 Subject: [PATCH 3/3] fix(Makefile): update .PHONY to include 'test_js' and 'all' targets Add 'test_js' and 'all' to the .PHONY declaration to align with newly defined Makefile targets. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eea3071..41f3b1d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: test dry-run +.PHONY: test test_js all all: test test_js