Skip to content

Commit

Permalink
Merge pull request #255 from annard/multiuser
Browse files Browse the repository at this point in the history
[DEV] Built into $TMPDIR instead of hard-coding /tmp to allow concurrent building of mogenerator. (Annard Brouwer)
  • Loading branch information
rentzsch committed Nov 20, 2014
2 parents 4ef709c + 73eac36 commit 448e833
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build-mogenerator-Info-plist.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rm -f /tmp/mogenerator-Info.plist
rm -f $TMPDIR/mogenerator-Info.plist
/usr/libexec/PlistBuddy \
-c "Clear" \
-c "Import :human.h.motemplate templates/human.h.motemplate" \
Expand All @@ -7,4 +7,4 @@ rm -f /tmp/mogenerator-Info.plist
-c "Import :machine.h.motemplate templates/machine.h.motemplate" \
-c "Import :machine.m.motemplate templates/machine.m.motemplate" \
-c "Import :machine.swift.motemplate templates/machine.swift.motemplate" \
/tmp/mogenerator-Info.plist
$TMPDIR/mogenerator-Info.plist
6 changes: 4 additions & 2 deletions mogenerator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@
/* Begin PBXProject section */
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
};
buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "mogenerator" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
Expand Down Expand Up @@ -479,7 +481,7 @@
"-sectcreate",
__TEXT,
__info_plist,
"/tmp/mogenerator-Info.plist",
"$TMPDIR/mogenerator-Info.plist",
);
PRODUCT_NAME = mogenerator;
WARNING_CFLAGS = "-Wall";
Expand All @@ -500,7 +502,7 @@
"-sectcreate",
__TEXT,
__info_plist,
"/tmp/mogenerator-Info.plist",
"$TMPDIR/mogenerator-Info.plist",
);
PRODUCT_NAME = mogenerator;
WARNING_CFLAGS = "-Wall";
Expand Down

0 comments on commit 448e833

Please sign in to comment.