refactor: remove unused constants

This commit is contained in:
Johnny
2025-10-16 20:40:46 +08:00
parent b685ffacdf
commit bc7decf642
37 changed files with 38 additions and 62 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ COPY . .
# Refer to `pnpm release` in package.json for the build command.
RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
go build -ldflags="-s -w" -o memos ./bin/memos/main.go
go build -ldflags="-s -w" -o memos ./cmd/memos
# Make workspace with above generated files.
FROM alpine:latest AS monolithic
+1 -1
View File
@@ -25,7 +25,7 @@ export GOCACHE="$(pwd)/build/.gocache"
export GOMODCACHE="$(pwd)/build/.gomodcache"
# Build the executable
go build -o "$OUTPUT" ./bin/memos
go build -o "$OUTPUT" ./cmd/memos
echo "Build successful!"
echo "To run the application, execute the following command:"