-
Notifications
You must be signed in to change notification settings - Fork 1
/
phing.xml
44 lines (33 loc) · 1.55 KB
/
phing.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
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<project name="ai-migrate-commerce extension" default="test">
<target name="test" description="Executes all tests">
<echo msg="No tests available" />
</target>
<target name="testperf" description="Executes all performance tests">
<echo msg="No performance tests available" />
</target>
<target name="coverage" description="Generates the code coverage report">
<echo msg="No coverage available" />
</target>
<target name="check" description="Executes all tests">
<echo msg="No checks available" />
</target>
<target name="clean" description="Cleans up temporary files">
<echo msg="No clean up available" />
</target>
<target name="i18n" description="Creates all translation files">
<echo msg="No translations available" />
</target>
<target name="build" description="Builds package for deployment">
<echo msg="No build available" />
</target>
<target name="release" description="Creates new release" depends="build">
<propertyprompt propertyName="version" promptText="Enter release version" promptCharacter=":" useExistingValue="true"/>
<exec command="git branch ${version}" checkreturn="true" logoutput="true" />
<exec command="git tag -a ${version} -m 'Release ${version}'" checkreturn="true" logoutput="true" />
<exec command="git push origin ${version}" checkreturn="true" logoutput="true" />
<exec command="git push --tags" checkreturn="true" logoutput="true" />
</target>
<target name="all" depends="test,check,build" description="Builds all parts of the package">
</target>
</project>