forked from jackalope/jackalope
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
git submodule update --init --recursive | ||
|
||
php $DIR/generate_doctrine_dbal_fixture.php | ||
|
||
php $DIR/vendor/vendors_doctrine_dbal.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
#!/bin/bash | ||
|
||
git submodule update --init --recursive | ||
wget http://s3-eu-west-1.amazonaws.com/patched-jackrabbit/jackrabbit-standalone-2.3.1-jackalope-SNAPSHOT.jar | ||
java -jar jackrabbit-standalone-2.3.1-jackalope-SNAPSHOT.jar& | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
echo "Waiting until Jackrabbit is ready on port 8080" | ||
while [[ -z `curl -s 'http://localhost:8080' ` ]] | ||
do | ||
echo -n "." | ||
sleep 2s | ||
done | ||
git submodule update --init --recursive | ||
|
||
echo "Jackrabbit is up" | ||
$DIR/vendor/vendors_jackrabbit.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
set_time_limit(0); | ||
|
||
$vendorDir = __DIR__; | ||
$deps = array( | ||
array('doctrine-common', 'http://github.com/doctrine/common.git', 'origin/master'), | ||
array('doctrine-dbal', 'http://github.com/doctrine/dbal.git', 'origin/master'), | ||
); | ||
|
||
foreach ($deps as $dep) { | ||
list($name, $url, $rev) = $dep; | ||
|
||
echo "> Installing/Updating $name\n"; | ||
|
||
$installDir = $vendorDir.'/'.$name; | ||
if (!is_dir($installDir)) { | ||
system(sprintf('git clone -q %s %s', escapeshellarg($url), escapeshellarg($installDir))); | ||
} | ||
|
||
system(sprintf('cd %s && git fetch -q origin && git reset --hard %s', escapeshellarg($installDir), escapeshellarg($rev))); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd $DIR | ||
|
||
JAR=jackrabbit-standalone-2.3.1-jackalope-SNAPSHOT.jar | ||
|
||
if [ ! -f "$DIR/$JAR" ]; then | ||
wget http://s3-eu-west-1.amazonaws.com/patched-jackrabbit/$JAR | ||
fi | ||
|
||
java -jar $DIR/$JAR& | ||
|
||
echo "Waiting until Jackrabbit is ready on port 8080" | ||
while [[ -z `curl -s 'http://localhost:8080' ` ]] | ||
do | ||
echo -n "." | ||
sleep 2s | ||
done | ||
|
||
echo "Jackrabbit is up" |