Skip to content

Commit

Permalink
fix directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Jan 3, 2024
1 parent 23c47b0 commit 18d52a2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN go mod download
## build
COPY cmd cmd
COPY server server
RUN GOOS=linux go build -ldflags "-X main.appVersion=${APP_VERSION} -X main.appCommit=${APP_COMMIT}" -o app cmd/kubeportal/main.go
RUN GOOS=linux go build -ldflags "-X main.appVersion=${APP_VERSION} -X main.appCommit=${APP_COMMIT}" -o app cmd/kube-portal/main.go


### Build Next.js ###
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cmd/kubeportal/main.go → cmd/kube-portal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/ShotaKitazawa/kube-portal/cmd/kubeportal/flag"
"github.com/ShotaKitazawa/kube-portal/cmd/kube-portal/flag"
"github.com/ShotaKitazawa/kube-portal/server"
)

Expand Down
2 changes: 1 addition & 1 deletion development/air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tmp_dir = "tmp"

[build]
# Just plain old shell command. You could use `make` as well.
cmd = "go build -o app cmd/kubeportal/main.go"
cmd = "go build -o app cmd/kube-portal/main.go"
# Binary file yields from `cmd`.
bin = "app"
# Watch these filename extensions.
Expand Down
2 changes: 1 addition & 1 deletion server/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/labstack/echo/v4/middleware"
"github.com/sirupsen/logrus"

"github.com/ShotaKitazawa/kube-portal/cmd/kubeportal/flag"
"github.com/ShotaKitazawa/kube-portal/cmd/kube-portal/flag"
"github.com/ShotaKitazawa/kube-portal/server/controller"
"github.com/ShotaKitazawa/kube-portal/server/infrastructure/github"
"github.com/ShotaKitazawa/kube-portal/server/infrastructure/kubernetes"
Expand Down

0 comments on commit 18d52a2

Please sign in to comment.