diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-03-03 19:20:08 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-03-03 19:20:08 +0100 |
commit | 8378485e332e11dcd59ed4fb8edac77b2f8f8d71 (patch) | |
tree | 72915c5a83a5d30889b81872b5941c9aa3962dc1 /app | |
parent | ba7b9d48d407f87690a3fdc199b37714d2a52897 (diff) | |
download | wallabag-8378485e332e11dcd59ed4fb8edac77b2f8f8d71.tar.gz wallabag-8378485e332e11dcd59ed4fb8edac77b2f8f8d71.tar.zst wallabag-8378485e332e11dcd59ed4fb8edac77b2f8f8d71.zip |
Simplify build system
Diffstat (limited to 'app')
-rw-r--r-- | app/build.xml | 44 | ||||
-rw-r--r-- | app/phpunit.xml.dist | 32 |
2 files changed, 0 insertions, 76 deletions
diff --git a/app/build.xml b/app/build.xml deleted file mode 100644 index bdc4b4d8..00000000 --- a/app/build.xml +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
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="--no-interaction"/> | ||
13 | <arg value="--no-progress"/> | ||
14 | <arg value="--working-dir=.."/> | ||
15 | </exec> | ||
16 | <exec executable="php"> | ||
17 | <arg value="${basedir}/../app/console"/> | ||
18 | <arg value="doctrine:database:drop"/> | ||
19 | <arg value="--force"/> | ||
20 | <arg value="--env=test"/> | ||
21 | </exec> | ||
22 | <exec executable="php"> | ||
23 | <arg value="${basedir}/../app/console"/> | ||
24 | <arg value="doctrine:database:create"/> | ||
25 | <arg value="--env=test"/> | ||
26 | </exec> | ||
27 | <exec executable="php"> | ||
28 | <arg value="${basedir}/../app/console"/> | ||
29 | <arg value="doctrine:schema:create"/> | ||
30 | <arg value="--env=test"/> | ||
31 | </exec> | ||
32 | <exec executable="php"> | ||
33 | <arg value="${basedir}/../app/console"/> | ||
34 | <arg value="cache:clear"/> | ||
35 | <arg value="--env=test"/> | ||
36 | </exec> | ||
37 | <exec executable="php"> | ||
38 | <arg value="${basedir}/../app/console"/> | ||
39 | <arg value="doctrine:fixtures:load"/> | ||
40 | <arg value="--no-interaction"/> | ||
41 | <arg value="--env=test"/> | ||
42 | </exec> | ||
43 | </target> | ||
44 | </project> | ||
diff --git a/app/phpunit.xml.dist b/app/phpunit.xml.dist deleted file mode 100644 index b8f38ff8..00000000 --- a/app/phpunit.xml.dist +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | |||
3 | <phpunit backupGlobals="false" | ||
4 | backupStaticAttributes="false" | ||
5 | colors="true" | ||
6 | convertErrorsToExceptions="true" | ||
7 | convertNoticesToExceptions="true" | ||
8 | convertWarningsToExceptions="true" | ||
9 | processIsolation="false" | ||
10 | stopOnFailure="false" | ||
11 | syntaxCheck="false" | ||
12 | bootstrap="bootstrap.php.cache" | ||
13 | > | ||
14 | |||
15 | <testsuites> | ||
16 | <testsuite name="wallabag Test Suite"> | ||
17 | <directory>../src/Wallabag/CoreBundle/Tests</directory> | ||
18 | </testsuite> | ||
19 | </testsuites> | ||
20 | |||
21 | <filter> | ||
22 | <whitelist> | ||
23 | <directory>../src</directory> | ||
24 | <exclude> | ||
25 | <directory>../vendor</directory> | ||
26 | <directory>../src/Wallabag/CoreBundle/Resources</directory> | ||
27 | <directory>../src/Wallabag/CoreBundle/Tests</directory> | ||
28 | <directory>../src/Wallabag/CoreBundle/DataFixtures</directory> | ||
29 | </exclude> | ||
30 | </whitelist> | ||
31 | </filter> | ||
32 | </phpunit> | ||