This repository was archived by the owner on Jul 12, 2020. It is now read-only.
File tree 5 files changed +66
-0
lines changed 5 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1
1
vendor
2
2
refactor.phar
3
+ .abc
4
+ .pear
5
+ build /
6
+ composer.phar
Original file line number Diff line number Diff line change
1
+ [submodule "setup "]
2
+ path = setup
3
+ url = git://github.com/Qafoo/build-commons.git
Original file line number Diff line number Diff line change
1
+ project.name = PHP Refactoring Browser
2
+ project.version = 0.0.1
3
+ project.stability = alpha
4
+
5
+ # The commons based directory will be used to calculate several build related
6
+ # paths and directories. Therefore we will keep it separated and independent for
7
+ # each component in the component's basedir.
8
+ commons.basedir = ${basedir}
9
+
10
+ # Base directories with PHP source and test files
11
+ commons.srcdir = ${basedir}/src/main
12
+ commons.srcdir.php = ${basedir}/src/main
13
+ commons.testdir.php = ${basedir}/src/test
14
+
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project name =" myProject" default =" verify" basedir =" ." >
3
+ <!-- Import project specific settings -->
4
+ <property file =" build.properties" />
5
+
6
+ <!-- Import the build commons framework -->
7
+ <import file =" setup/src/main/xml/base.xml" />
8
+
9
+ <target name =" -composer:dependencies-install"
10
+ depends =" -composer:dependencies-lock-up2date"
11
+ unless =" -composer:dependencies.lock.up2date" >
12
+
13
+ <exec executable =" ${ commons.executable.php } " failonerror =" true" >
14
+ <arg value =" ${ composer.executable } " />
15
+ <arg value =" install" />
16
+ <arg value =" --dev" />
17
+ </exec >
18
+
19
+ <touch file =" ${ composer.up2date.file } " />
20
+ </target >
21
+
22
+ <target name =" composer:dependencies-update"
23
+ depends =" composer:dependencies-lock-exists"
24
+ unless =" composer:dependencies.lock.exists" >
25
+
26
+ <exec executable =" ${ commons.executable.php } " failonerror =" true" >
27
+ <arg value =" ${ composer.executable } " />
28
+ <arg value =" update" />
29
+ <arg value =" --dev" />
30
+ </exec >
31
+ </target >
32
+
33
+ <target name =" behat"
34
+ extensionOf =" -test:after~hook" >
35
+ <exec executable =" ${ commons.executable.php } " failonerror =" true" dir =" ${ basedir } " >
36
+ <arg value =" vendor/bin/behat" />
37
+
38
+ <arg value =" --format" />
39
+ <arg value =" junit,progress" />
40
+ <arg value =" --out" />
41
+ <arg value =" ${ commons:logsdir } ," />
42
+ </exec >
43
+ </target >
44
+ </project >
You can’t perform that action at this time.
0 commit comments