From 9ddd2807a13eafbd967f421b0dc4aee55ff2ff6f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 11 May 2025 17:07:48 +0800 Subject: [PATCH] forged/cmd/forge -> forged We're already separating everything related to the main forge daemon in forged/ so the cmd structure is just a bit redundant at this point. --- Makefile | 2 +- forged/cmd/forge/main.go => forged/main.go | 0 diff --git a/Makefile b/Makefile index d52c3f6c319621d6acd9a2ad577fc9916729bdaa..65d6b0792b41f46b602c8c377ac568de2d52acca 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ EMBED = git2d/git2d hookc/hookc source.tar.gz $(wildcard LICENSE*) $(wildcard forged/static/*) $(wildcard forged/templates/*) EMBED_ = $(EMBED:%=forged/internal/embed/%) forge: $(EMBED_) $(SOURCE_FILES) - CGO_ENABLED=0 go build -o forge -ldflags '-extldflags "-f no-PIC -static" -X "go.lindenii.runxiyu.org/forge/forged/internal/unsorted.version=$(VERSION)"' -tags 'osusergo netgo static_build' ./forged/cmd/forge + CGO_ENABLED=0 go build -o forge -ldflags '-extldflags "-f no-PIC -static" -X "go.lindenii.runxiyu.org/forge/forged/internal/unsorted.version=$(VERSION)"' -tags 'osusergo netgo static_build' ./forged utils/colb: diff --git a/forged/cmd/forge/main.go b/forged/main.go rename from forged/cmd/forge/main.go rename to forged/main.go -- 2.48.1