generated from VLADIMIR/template
ups script
This commit is contained in:
Vendored
+3
@@ -5,6 +5,7 @@
|
|||||||
"вопрос",
|
"вопрос",
|
||||||
"второй",
|
"второй",
|
||||||
"дает",
|
"дает",
|
||||||
|
"Дело",
|
||||||
"Детективы",
|
"Детективы",
|
||||||
"диалога",
|
"диалога",
|
||||||
"диалогом",
|
"диалогом",
|
||||||
@@ -40,10 +41,12 @@
|
|||||||
"точку",
|
"точку",
|
||||||
"читайте",
|
"читайте",
|
||||||
"AUTOINCREMENT",
|
"AUTOINCREMENT",
|
||||||
|
"GOARCH",
|
||||||
"gopdf",
|
"gopdf",
|
||||||
"gwmux",
|
"gwmux",
|
||||||
"localtime",
|
"localtime",
|
||||||
"palces",
|
"palces",
|
||||||
|
"protoc",
|
||||||
"qrcode",
|
"qrcode",
|
||||||
"signintech",
|
"signintech",
|
||||||
"stretchr"
|
"stretchr"
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ build-builder:
|
|||||||
build-macos:
|
build-macos:
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -o bin/evening_detective_macos_arm64 cmd/evening_detective/main.go
|
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -o bin/evening_detective_macos_arm64 cmd/evening_detective/main.go
|
||||||
|
cp bin/evening_detective_macos_arm64 ../evening_detective_stories
|
||||||
|
ls ../evening_detective_stories | grep Дело | xargs -I {} cp -f bin/evening_detective_macos_arm64 "../evening_detective_stories/{}/game/"
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
@@ -25,6 +27,8 @@ build-linux:
|
|||||||
-w /app \
|
-w /app \
|
||||||
my-go-builder sh -c \
|
my-go-builder sh -c \
|
||||||
"CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o bin/evening_detective_linux_arm64 cmd/evening_detective/main.go"
|
"CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -o bin/evening_detective_linux_arm64 cmd/evening_detective/main.go"
|
||||||
|
ls ../evening_detective_stories | grep Дело | xargs -I {} cp -f bin/evening_detective_linux_arm64 "../evening_detective_stories/{}/game/"
|
||||||
|
ls ../evening_detective_stories | grep Дело | xargs -I {} cp -f docker-compose.yml "../evening_detective_stories/{}/game/"
|
||||||
|
|
||||||
text_to_story:
|
text_to_story:
|
||||||
rm -f ./cmd/text_to_story/story.json
|
rm -f ./cmd/text_to_story/story.json
|
||||||
|
|||||||
Reference in New Issue
Block a user