OSDN Git Service

buildディレクトリでbuildするようにした 1.0beta
authormasakih <masakih@users.sourceforge.jp>
Sat, 15 Mar 2014 13:02:12 +0000 (22:02 +0900)
committermasakih <masakih@users.sourceforge.jp>
Sat, 15 Mar 2014 13:02:12 +0000 (22:02 +0900)
.gitignore
Makefile

index d36a4cc..3a1602b 100644 (file)
@@ -2,4 +2,5 @@ xcshareddata
  
 xcdebugger
  
-xcuserdata
\ No newline at end of file
+xcuserdata
+/build/
index 0bd70ba..b249779 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ KCD/HMMissionStatus.m KCD/HMNyukyoDockStatus.m
 VER_CMD=grep -A1 'CFBundleShortVersionString' $(INFO_PLIST) | tail -1 | tr -d "'\t</string>" 
 VERSION=$(shell $(VER_CMD))
 
-all: release
+all: package
 
 Localizable: $(LOCALIZE_FILES)
        genstrings -o KCD/ja.lproj $^
@@ -28,7 +28,7 @@ checkLocalizable:
        (cd KCD/ja.lproj; ${MAKE} $@;)
 
 release: updateRevision
-       xcodebuild -scheme $(SCHEME) -configuration $(DEPLOYMENT)
+       xcodebuild -derivedDataPath=build -configuration $(DEPLOYMENT)
        $(MAKE) restorInfoPlist
 
 package: release