Rename ServerConfig->RouterConfig, smaller build fixes
parent
2237cb4785
commit
7fef5964da
@ -1,5 +1,5 @@
|
||||
.task/
|
||||
.DS_STORE
|
||||
|
||||
!.gitkeep
|
||||
.task/
|
||||
|
||||
.env
|
||||
!.gitkeep
|
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); PATH=$PATH:/go/bin protoc --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}'
|
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
go mod tidy -go=1.19
|
||||
|
||||
for i in $(find . -name 'main.go'); do
|
||||
pushd $(dirname $i)
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go get -installsuffix cgo -ldflags="-w -s" -u ./...
|
||||
popd
|
||||
done
|
Loading…
Reference in New Issue