diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-31 10:29:30 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-31 10:29:30 +0100 |
commit | 71691fe44a7b2a80f3b9d96d54720cce7994ad08 (patch) | |
tree | 6089b5574ef56991d36701c84754f420cc3bd64f /app/build.xml | |
parent | fdcbdda1ade822e038727ff1b653b9702ba75d6a (diff) | |
parent | aa6e27cf4fbbb4713b1cdc933c4719ae9da78c71 (diff) | |
download | wallabag-71691fe44a7b2a80f3b9d96d54720cce7994ad08.tar.gz wallabag-71691fe44a7b2a80f3b9d96d54720cce7994ad08.tar.zst wallabag-71691fe44a7b2a80f3b9d96d54720cce7994ad08.zip |
Merge pull request #1035 from j0k3r/refactor
Tests are working again
Diffstat (limited to 'app/build.xml')
-rw-r--r-- | app/build.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/build.xml b/app/build.xml new file mode 100644 index 00000000..16ef73ed --- /dev/null +++ b/app/build.xml | |||
@@ -0,0 +1,22 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <project name="wallabag" default="build"> | ||
3 | <target name="build" depends="prepare"/> | ||
4 | |||
5 | <target name="clean" description="Cleanup build artifacts"> | ||
6 | <delete dir="${basedir}/app/cache"/> | ||
7 | </target> | ||
8 | |||
9 | <target name="prepare" depends="clean" description="Prepare for build"> | ||
10 | <exec executable="composer"> | ||
11 | <arg value="install"/> | ||
12 | <arg value="--dev"/> | ||
13 | <arg value="--no-interaction"/> | ||
14 | <arg value="--working-dir=.."/> | ||
15 | </exec> | ||
16 | <exec executable="php"> | ||
17 | <arg value="${basedir}/../app/console"/> | ||
18 | <arg value="cache:clear"/> | ||
19 | <arg value="--env=test"/> | ||
20 | </exec> | ||
21 | </target> | ||
22 | </project> | ||