Skip to content
This repository
Browse code

Add install part to build script

  • Loading branch information...
commit 3460fc46a089fa97c3c1d55f5328dff62192e251 1 parent c715d78
Nicolas Ruflin authored February 24, 2013

Showing 2 changed files with 14 additions and 0 deletions. Show diff stats Hide diff stats

  1. 1  .gitignore
  2. 13  build.xml
1  .gitignore
@@ -9,3 +9,4 @@ atlassian-ide-plugin.xml
9 9
 .settings
10 10
 /vendor
11 11
 composer.lock
  12
+composer.phar
13  build.xml
@@ -35,6 +35,19 @@
35 35
 	
36 36
 	<target name="install" description="installs and starts elasticsearch">
37 37
 		<exec executable="bash">
  38
+			<arg value="-c" />
  39
+			<arg value="curl -sS https://getcomposer.org/installer | php" />
  40
+		</exec>
  41
+		<exec executable="php">
  42
+			<arg value="composer.phar" />
  43
+			<arg value="self-update" />
  44
+		</exec>
  45
+		<exec executable="php">
  46
+			<arg value="composer.phar" />
  47
+			<arg value="--dev" />
  48
+			<arg value="install" />
  49
+		</exec>	
  50
+		<exec executable="bash">
38 51
 			<env key="ES_VER" value="0.20.5"/>
39 52
 			<env key="ES_MAPPER_ATTACHMENTS_VER" value="1.6.0"/>
40 53
 			<env key="ES_TRANSPORT_THRIFT_VER" value="1.4.0"/>

0 notes on commit 3460fc4

Please sign in to comment.
Something went wrong with that request. Please try again.