Permalink
Browse files

add a pull.sh script that update all submodules + improve ci.py

  • Loading branch information...
1 parent c940ed3 commit d7cedc7b468fc3c67e807327f371196e6992fcfa Antoine Mercadal committed Jun 22, 2011
Showing with 12 additions and 1 deletion.
  1. +6 −1 ci.py
  2. +6 −0 pull.sh
View
7 ci.py
@@ -34,6 +34,10 @@
API_PATH="/var/www/archipelproject.org/api/"
+def updateSubmodules():
+ os.system("bash ./pull.sh")
+
+
def buildCappuccino():
os.system("echo \* Starting to build Cappuccino")
if os.system("cd ./ArchipelClient/Libraries/Cappuccino && jake release && jake debug"):
@@ -188,7 +192,8 @@ def generateAPI(api_dir):
if "#nobuild" in out:
os.system("echo \* Build skipped according to last commit message (contains #nobuild)")
sys.exit(0)
-
+
+ updateSubmodules()
if BUILD_CAPPUCCINO or FORCE: buildCappuccino()
if BUILD_GROWLCAPPUCCINO or FORCE: buildGrowlCappuccino()
if BUILD_ITUNESTABVIEW or FORCE: buildiTunesTabView()
View
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+echo " * updating all submodules"
+git submodule update
+git submodule foreach git submodule update
+echo " * DONE"

0 comments on commit d7cedc7

Please sign in to comment.