refactor: rename cmd/server to cmd/deklarix
Matches the project structure and binary name defined in the Deklarix product spec. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ for ARCH in "${ARCHS[@]}"; do
|
||||
GOARCH=$ARCH GOOS=linux go build \
|
||||
-ldflags="-X main.Version=${VERSION} -s -w" \
|
||||
-o "$OUT" \
|
||||
./cmd/server/
|
||||
./cmd/deklarix/
|
||||
log "$ARCH fertig: $(du -sh "$OUT" | cut -f1)"
|
||||
done
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@ log "go test ./... "
|
||||
go test -race -count=1 ./... || fail "Tests fehlgeschlagen"
|
||||
|
||||
log "Build-Check (amd64) ..."
|
||||
GOARCH=amd64 GOOS=linux go build -o /dev/null ./cmd/server/ || fail "Build fehlgeschlagen"
|
||||
GOARCH=amd64 GOOS=linux go build -o /dev/null ./cmd/deklarix/ || fail "Build fehlgeschlagen"
|
||||
|
||||
log "Alle Tests bestanden ✓"
|
||||
|
||||
Reference in New Issue
Block a user