From 777b7a101a524031fa23f096d6fdeb2ed061748d Mon Sep 17 00:00:00 2001 From: ssig33 Date: Sun, 26 Oct 2025 12:23:11 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=83=97=E3=83=AA=E3=81=AE=E3=83=AA?= =?UTF-8?q?=E3=83=AA=E3=83=BC=E3=82=B9=E3=83=93=E3=83=AB=E3=83=89=E3=81=8A?= =?UTF-8?q?=E3=82=88=E3=81=B3=E9=85=8D=E7=BD=AE=E3=83=95=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E8=87=AA=E5=8B=95=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .gitignoreにbuildディレクトリを追加し、ビルド生成物の管理を強化 - xcodebuildのビルドパスを明示指定し、成果物の出力先を統一 - releaseターゲットを追加し、アプリを~/Applicationsへ自動配置するコマンドを追加 --- .gitignore | 1 + Makefile | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 18ce5ec..393fd5e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.xcodeproj .DS_Store +build diff --git a/Makefile b/Makefile index 38ff4c2..4e122dd 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,8 @@ all: build generate: xcodegen generate build: generate - xcodebuild -scheme OreCalendar -destination 'platform=macOS' build + xcodebuild -scheme OreCalendar -destination 'platform=macOS' -derivedDataPath build build + +release: build + rm -rf ~/Applications/OreCalendar.app ; true + mv build/Build/Products/Release/OreCalendar.app ~/Applications/OreCalendar.app