diff options
author | Runxi Yu <me@runxiyu.org> | 2025-05-11 17:07:48 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-05-11 17:08:01 +0800 |
commit | 9ddd2807a13eafbd967f421b0dc4aee55ff2ff6f (patch) | |
tree | cd2deafac1aea8787cb85ac9654ad375ef0fadc0 /forged/cmd/forge/main.go | |
parent | Bump dependencies (diff) | |
download | forge-0.1.46.tar.gz forge-0.1.46.tar.zst forge-0.1.46.zip |
forged/cmd/forge -> forgedv0.1.46
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.
Diffstat (limited to 'forged/cmd/forge/main.go')
-rw-r--r-- | forged/cmd/forge/main.go | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/forged/cmd/forge/main.go b/forged/cmd/forge/main.go deleted file mode 100644 index fde15d1..0000000 --- a/forged/cmd/forge/main.go +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> - -// The main entry point to the Lindenii Forge daemon. -package main - -import ( - "flag" - - "go.lindenii.runxiyu.org/forge/forged/internal/unsorted" -) - -func main() { - configPath := flag.String( - "config", - "/etc/lindenii/forge.scfg", - "path to configuration file", - ) - flag.Parse() - - s, err := unsorted.NewServer(*configPath) - if err != nil { - panic(err) - } - - panic(s.Run()) -} |