|
5 | 5 |
|
6 | 6 | <taskdef name="symfony-cmd" classname="VasekPurchart\Phing\SymfonyCommand\SymfonyCommandTask"/> |
7 | 7 |
|
8 | | - <target name="testCallCommand"> |
9 | | - <property name="testCallCommand.default.app" value="${project.basedir}/console"/> |
10 | | - <property name="symfony-command.default.app" value="${testCallCommand.default.app}"/> |
| 8 | + <target name="call-command"> |
| 9 | + <property name="call-command.default.app" value="${project.basedir}/console"/> |
| 10 | + <property name="symfony-command.default.app" value="${call-command.default.app}"/> |
11 | 11 |
|
12 | | - <property name="testCallCommand.default.executable" value="php"/> |
13 | | - <property name="symfony-command.default.executable" value="${testCallCommand.default.executable}"/> |
| 12 | + <property name="call-command.default.executable" value="php"/> |
| 13 | + <property name="symfony-command.default.executable" value="${call-command.default.executable}"/> |
14 | 14 |
|
15 | 15 | <symfony-cmd cmd="hello:world"/> |
16 | 16 | </target> |
17 | 17 |
|
18 | | - <target name="testCallCommandWithCustomExecutable"> |
19 | | - <property name="testCallCommandWithCustomExecutable.default.app" value="${project.basedir}/console"/> |
20 | | - <property name="symfony-command.default.app" value="${testCallCommandWithCustomExecutable.default.app}"/> |
| 18 | + <target name="call-command-with-custom-executable"> |
| 19 | + <property name="call-command-with-custom-executable.default.app" value="${project.basedir}/console"/> |
| 20 | + <property name="symfony-command.default.app" value="${call-command-with-custom-executable.default.app}"/> |
21 | 21 |
|
22 | | - <property name="testCallCommandWithCustomExecutable.test.executable" value="php"/> |
| 22 | + <property name="call-command-with-custom-executable.test.executable" value="php"/> |
23 | 23 |
|
24 | | - <symfony-cmd executable="${testCallCommandWithCustomExecutable.test.executable}" cmd="hello:world"/> |
| 24 | + <symfony-cmd executable="${call-command-with-custom-executable.test.executable}" cmd="hello:world"/> |
25 | 25 | </target> |
26 | 26 |
|
27 | | - <target name="testCallCommandWithCustomApp"> |
28 | | - <property name="testCallCommandWithCustomApp.default.executable" value="php"/> |
29 | | - <property name="symfony-command.default.executable" value="${testCallCommandWithCustomApp.default.executable}"/> |
| 27 | + <target name="call-command-with-custom-app"> |
| 28 | + <property name="call-command-with-custom-app.default.executable" value="php"/> |
| 29 | + <property name="symfony-command.default.executable" value="${call-command-with-custom-app.default.executable}"/> |
30 | 30 |
|
31 | | - <property name="testCallCommandWithCustomApp.test.app" value="${project.basedir}/console"/> |
| 31 | + <property name="call-command-with-custom-app.test.app" value="${project.basedir}/console"/> |
32 | 32 |
|
33 | | - <symfony-cmd app="${testCallCommandWithCustomApp.test.app}" cmd="hello:world"/> |
| 33 | + <symfony-cmd app="${call-command-with-custom-app.test.app}" cmd="hello:world"/> |
34 | 34 | </target> |
35 | 35 |
|
36 | | - <target name="testCallCommandWithCustomExecutableAndApp"> |
37 | | - <property name="testCallCommandWithCustomExecutableAndApp.test.app" value="${project.basedir}/console"/> |
38 | | - <property name="testCallCommandWithCustomExecutableAndApp.test.executable" value="php"/> |
| 36 | + <target name="call-command-with-custom-executable-and-app"> |
| 37 | + <property name="call-command-with-custom-executable-and-app.test.app" value="${project.basedir}/console"/> |
| 38 | + <property name="call-command-with-custom-executable-and-app.test.executable" value="php"/> |
39 | 39 |
|
40 | 40 | <symfony-cmd |
41 | | - executable="${testCallCommandWithCustomExecutableAndApp.test.executable}" |
42 | | - app="${testCallCommandWithCustomExecutableAndApp.test.app}" |
| 41 | + executable="${call-command-with-custom-executable-and-app.test.executable}" |
| 42 | + app="${call-command-with-custom-executable-and-app.test.app}" |
43 | 43 | cmd="hello:world" |
44 | 44 | /> |
45 | 45 | </target> |
46 | 46 |
|
47 | | - <target name="testCallCommandWithAppAsExecutable"> |
48 | | - <property name="testCallCommandWithAppAsExecutable.test.app" value="${project.basedir}/console"/> |
| 47 | + <target name="call-command-with-app-as-executable"> |
| 48 | + <property name="call-command-with-app-as-executable.test.app" value="${project.basedir}/console"/> |
49 | 49 |
|
50 | | - <symfony-cmd app="${testCallCommandWithAppAsExecutable.test.app}" cmd="hello:world"/> |
| 50 | + <symfony-cmd app="${call-command-with-app-as-executable.test.app}" cmd="hello:world"/> |
51 | 51 | </target> |
52 | 52 |
|
53 | | - <target name="testCallCommandAndOverrideDefaults"> |
| 53 | + <target name="call-command-and-override-defaults"> |
54 | 54 | <property name="symfony-command.default.app" value="XXX"/> |
55 | 55 |
|
56 | 56 | <property name="symfony-command.default.executable" value="YYY"/> |
57 | 57 |
|
58 | | - <property name="testCallCommandAndOverrideDefaults.test.app" value="${project.basedir}/console"/> |
59 | | - <property name="testCallCommandAndOverrideDefaults.test.executable" value="php"/> |
| 58 | + <property name="call-command-and-override-defaults.test.app" value="${project.basedir}/console"/> |
| 59 | + <property name="call-command-and-override-defaults.test.executable" value="php"/> |
60 | 60 |
|
61 | 61 | <symfony-cmd |
62 | | - executable="${testCallCommandAndOverrideDefaults.test.executable}" |
63 | | - app="${testCallCommandAndOverrideDefaults.test.app}" |
| 62 | + executable="${call-command-and-override-defaults.test.executable}" |
| 63 | + app="${call-command-and-override-defaults.test.app}" |
64 | 64 | cmd="hello:world" |
65 | 65 | /> |
66 | 66 | </target> |
67 | 67 |
|
68 | | - <target name="testMissingApp"> |
| 68 | + <target name="missing-app"> |
69 | 69 | <symfony-cmd cmd="hello:world"/> |
70 | 70 | </target> |
71 | 71 |
|
|
0 commit comments