From 24a74e625dbbe79ecee1813533b315bf5e3cf809 Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Sun, 11 Jan 2026 16:05:50 -0500 Subject: [PATCH] refactor: update binary name from lambda.exe to lambda Changed BINARY_NAME from lambda.exe to lambda and updated all execution references to use the ${BINARY_NAME} variable. Added lambda binary to .gitignore. --- .gitignore | 1 + Makefile | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 71b2ceb..0b209db 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore # # Binaries for programs and plugins +lambda *.exe *.exe~ *.dll diff --git a/Makefile b/Makefile index 6275bc8..92a61a1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BINARY_NAME=lambda.exe +BINARY_NAME=lambda TEST=simple .PHONY: help build run profile explain graph docs @@ -19,13 +19,13 @@ build: @ chmod +x ${BINARY_NAME} run: build - @ ./lambda.exe - < ./samples/$(TEST).txt > program.out + @ ./${BINARY_NAME} - < ./samples/$(TEST).txt > program.out profile: build - @ ./lambda.exe -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out + @ ./${BINARY_NAME} -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out explain: build - @ ./lambda.exe -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out + @ ./${BINARY_NAME} -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out graph: @ go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof