-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (30 loc) · 1009 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<project name="giantbomb-downloader">
<target name="composer" description="Installing composer dependencies">
<exec executable="composer" failonerror="true">
<arg value="install" />
</exec>
</target>
<target name="unit">
<exec executable="vendor/bin/phpunit" taskname="unit-tests">
<arg value="--log-junit" />
<arg path="build/results.xml" />
</exec>
</target>
<target name="database">
<exec executable="php" taskname="database-setup">
<arg value="artisan" />
<arg value="migrate:refresh" />
</exec>
<exec executable="php" taskname="database-seed">
<arg value="artisan" />
<arg value="db:seed" />
</exec>
</target>
<target name="key">
<exec executable="php" taskname="key-setup">
<arg value="artisan" />
<arg value="key:generate" />
</exec>
</target>
</project>