generated from VLADIMIR/template
ups script
This commit is contained in:
Vendored
+3
@@ -5,6 +5,7 @@
|
||||
"вопрос",
|
||||
"второй",
|
||||
"дает",
|
||||
"Дело",
|
||||
"Детективы",
|
||||
"диалога",
|
||||
"диалогом",
|
||||
@@ -40,10 +41,12 @@
|
||||
"точку",
|
||||
"читайте",
|
||||
"AUTOINCREMENT",
|
||||
"GOARCH",
|
||||
"gopdf",
|
||||
"gwmux",
|
||||
"localtime",
|
||||
"palces",
|
||||
"protoc",
|
||||
"qrcode",
|
||||
"signintech",
|
||||
"stretchr"
|
||||
|
||||
@@ -18,6 +18,8 @@ build-builder:
|
||||
build-macos:
|
||||
rm -rf bin
|
||||
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:
|
||||
docker run --rm \
|
||||
@@ -25,6 +27,8 @@ build-linux:
|
||||
-w /app \
|
||||
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"
|
||||
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:
|
||||
rm -f ./cmd/text_to_story/story.json
|
||||
|
||||
Reference in New Issue
Block a user