Permalink
Browse files

Add StropheCappuccino, GrowlCappuccino and MessageBoard back as submo…

…dules inside Libraries/, link to built versions in Frameworks/ and use a sane build process that doesn't involve mutilating the submodules
  • Loading branch information...
1 parent 17c76c8 commit 779037243a3bdf9e0febb4045895ef060d54f88d @benlangfeld committed Nov 2, 2010
View
@@ -0,0 +1,9 @@
+[submodule "Libraries/StropheCappuccino"]
+ path = Libraries/StropheCappuccino
+ url = git://github.com/primalmotion/StropheCappuccino.git
+[submodule "Libraries/MessageBoard"]
+ path = Libraries/MessageBoard
+ url = git://github.com/primalmotion/MessageBoard.git
+[submodule "Libraries/GrowlCappuccino"]
+ path = Libraries/GrowlCappuccino
+ url = git://github.com/primalmotion/GrowlCappuccino.git
View
@@ -38,7 +38,7 @@ app ("CappuccinoTalk", function(task)
task.setAuthor("MyStudioTools");
task.setEmail("info @nospam@ mystudiotools.com");
task.setSummary("CappuccinoTalk");
- task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
+ task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")).exclude(FILE.join("Libraries", "**")));
task.setResources(new FileList("Resources/**"));
task.setIndexFilePath("index.html");
task.setInfoPlistPath("Info.plist");
@@ -59,32 +59,25 @@ task ("build", ["default"]);
task ("debug", function()
{
ENV["CONFIGURATION"] = "Debug";
+
+ // Build Libraries
+ JAKE.subjake(["Libraries/StropheCappuccino"], "build", ENV);
+ JAKE.subjake(["Libraries/GrowlCappuccino"], "build", ENV);
+ JAKE.subjake(["Libraries/MessageBoard"], "build", ENV);
+
JAKE.subjake(["."], "build", ENV);
});
task ("release", function()
{
ENV["CONFIGURATION"] = "Release";
- // Build StropheCappuccino
- JAKE.subjake(["Frameworks/StropheCappuccino"], "build", ENV);
- OS.system(["mv", "Frameworks/StropheCappuccino", "Frameworks/StropheCappuccinoOld"]);
- OS.system(["mv", FILE.join("Frameworks", "StropheCappuccinoOld", "Build", ENV["CONFIGURATION"], "StropheCappuccino"), "Frameworks/"]);
- OS.system(["rm", "-rf", "Frameworks/StropheCappuccinoOld"]);
-
- // Build MessageBoard
- JAKE.subjake(["Frameworks/MessageBoard"], "build", ENV);
- OS.system(["mv", "Frameworks/MessageBoard", "Frameworks/MessageBoardOld"]);
- OS.system(["mv", FILE.join("Frameworks", "MessageBoardOld", "Build", ENV["CONFIGURATION"], "MessageBoard"), "Frameworks/"]);
- OS.system(["rm", "-rf", "Frameworks/MessageBoardOld"]);
+ // Build Libraries
+ JAKE.subjake(["Libraries/StropheCappuccino"], "build", ENV);
+ JAKE.subjake(["Libraries/GrowlCappuccino"], "build", ENV);
+ JAKE.subjake(["Libraries/MessageBoard"], "build", ENV);
JAKE.subjake(["."], "build", ENV);
-
- OS.system(["rm", "-rf", "Frameworks/MessageBoard"]);
- OS.system(["rm", "-rf", "Frameworks/StropheCappuccino"]);
-
- OS.system("git submodule init");
- OS.system("git submodule update");
});
task ("run", ["debug"], function()
Submodule GrowlCappuccino added at f1a64a
Submodule MessageBoard added at a3f11a

0 comments on commit 7790372

Please sign in to comment.