From ae63de364faa263ee41c9e6a9d5596b7b9dc984d Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Sun, 17 May 2026 14:30:48 +0700 Subject: [PATCH] ups script --- .vscode/settings.json | 3 +++ Makefile | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index e58b186..243abb0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,6 +5,7 @@ "вопрос", "второй", "дает", + "Дело", "Детективы", "диалога", "диалогом", @@ -40,10 +41,12 @@ "точку", "читайте", "AUTOINCREMENT", + "GOARCH", "gopdf", "gwmux", "localtime", "palces", + "protoc", "qrcode", "signintech", "stretchr" diff --git a/Makefile b/Makefile index e6cdb62..fd3bb39 100644 --- a/Makefile +++ b/Makefile @@ -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