Skip to content

Commit

Permalink
rename all
Browse files Browse the repository at this point in the history
  • Loading branch information
pygrum committed Dec 28, 2023
1 parent 14a99a8 commit a514209
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ LDFLAGS = -s -w
PROTOS = "pkg/protobuf"

server:
GOOS=linux GOARCH=amd64 go build -ldflags="$(LDFLAGS)" -o monarch-linux_x64 cmd/monarch/monarch.go
GOOS=linux GOARCH=386 go build -ldflags="$(LDFLAGS)" -o monarch-linux_x86 cmd/monarch/monarch.go
GOOS=linux GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o monarch-linux_arm64 cmd/monarch/monarch.go
GOOS=linux GOARCH=arm go build -ldflags="$(LDFLAGS)" -o monarch-linux_arm cmd/monarch/monarch.go
GOOS=linux GOARCH=amd64 go build -ldflags="$(LDFLAGS)" -o monarch-linux_x64 cmd/server/monarch-server.go
GOOS=linux GOARCH=386 go build -ldflags="$(LDFLAGS)" -o monarch-linux_x86 cmd/server/monarch-server.go
GOOS=linux GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o monarch-linux_arm64 cmd/server/monarch-server.go
GOOS=linux GOARCH=arm go build -ldflags="$(LDFLAGS)" -o monarch-linux_arm cmd/server/monarch-server.go

linux:
GOOS=linux GOARCH=amd64 go build -ldflags="$(LDFLAGS)" -o monarch-client-linux_x64 cmd/client/monarch-client.go
GOOS=linux GOARCH=386 go build -ldflags="$(LDFLAGS)" -o monarch-client-linux_x86 cmd/client/monarch-client.go
GOOS=linux GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o monarch-client-linux_arm64 cmd/monarch/monarch.go
GOOS=linux GOARCH=arm go build -ldflags="$(LDFLAGS)" -o monarch-client-linux_arm cmd/monarch/monarch.go
GOOS=linux GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o monarch-client-linux_arm64 cmd/client/monarch-client.go
GOOS=linux GOARCH=arm go build -ldflags="$(LDFLAGS)" -o monarch-client-linux_arm cmd/client/monarch-client.go

macos:
GOOS=darwin GOARCH=amd64 go build -ldflags="$(LDFLAGS)" -o monarch-client-macos_x64 cmd/client/monarch-client.go
Expand Down
5 changes: 0 additions & 5 deletions cmd/server/monarch-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@ import (
"github.com/pygrum/monarch/pkg/console"
)

func init() {

}

func main() {
config.Initialize()
config.ClientConfig.Name = "console"
db.Initialize()

commands.ConsoleInitCTX()
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-monarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ echo "royal-lint saved to $HOME/.local/bin/royal-lint"

echo "building monarch.."
go build ../cmd/server/monarch-server.go
mv ./monarch "${HOME}/.local/bin"
mv ./monarch-server "${HOME}/.local/bin"

echo "building monarch client..."
go build ../cmd/client/monarch-client.go
Expand Down

0 comments on commit a514209

Please sign in to comment.