From 25816e917750f0fea33485159e866fb22d5c3402 Mon Sep 17 00:00:00 2001 From: Hunter LaFaille Date: Thu, 10 Oct 2024 22:39:51 -0400 Subject: [PATCH] Build context subsystem (#13) * Refactoring * Refactoring command.go * renaming mod, adding version support * Add copyright notice * Updating text * Working on contexts * reworking * reworking some more * ported to use project context, got away from pointer hell * fixing makefile * removing espresso executable --- .gitignore | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7688b39..605678b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ ESPRESSO_DEBUG/ -v0 \ No newline at end of file +v0 +espresso \ No newline at end of file diff --git a/Makefile b/Makefile index a2a8b6f..565f035 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ build: - go build -ldflags="-X kerosenelabs.com/espresso/core/service.CommitSha=$(shell git rev-parse HEAD) -X kerosenelabs.com/espresso/core/service.Version=$(VERSION)" + CGO_ENABLED=0 go build -ldflags="-X kerosenelabs.com/espresso/core/service.CommitSha=$(shell git rev-parse HEAD) -X kerosenelabs.com/espresso/core/service.Version=$(VERSION)" install: sudo mv espresso /usr/local/bin \ No newline at end of file