This repository was archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
executable file
·118 lines (101 loc) · 4.51 KB
/
build.xml
File metadata and controls
executable file
·118 lines (101 loc) · 4.51 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="utf-8"?>
<project name="Stubbles CodeSniffer Sniffs" default="main">
<taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2"/>
<target name="main" depends="create-package-xml">
<if>
<available file="package.xml" property="package.xml.exists"/>
<then>
<exec command="pear package"/>
<move file="StubblesCodingStandard-${version}.tgz" tofile="build/StubblesCodingStandard-${version}.tgz" overwrite="true"/>
</then>
</if>
</target>
<target name="versioncheck" unless="version">
<php function="file_get_contents" returnProperty="version">
<param value="VERSION"/>
</php>
<echo>Version to be build: ${version}</echo>
</target>
<target name="create-package-xml" depends="versioncheck">
<d51pearpkg2 dir="." baseinstalldir="PHP/CodeSniffer/Standards">
<name>StubblesCodingStandard</name>
<summary>Stubbles Coding Standard (for PHP_CodeSniffer).</summary>
<channel>pear.bovigo.org</channel>
<description>
The official Stubbles Coding Standards to use
with PHP_CodeSniffer. Utilizes predefined and
new implemented Sniffs.
</description>
<lead user="rist" name="Richard Sternagel" email="richard.sternagel@1und1.de"/>
<lead user="mikey" name="Frank Kleine" email="mikey@stubbles.net"/>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<version release="${version}" api="${version}"/>
<stability release="alpha" api="alpha"/>
<dependencies>
<php minimum_version="5.3.0"/>
<pear minimum_version="1.4.0"/>
<package name="PHP_CodeSniffer" channel="pear.php.net" minimum_version="1.3.1"/>
</dependencies>
<dirroles key="Stubbles">php</dirroles>
<ignore>build/</ignore>
<ignore>build.readme</ignore>
<ignore>build.xml</ignore>
<ignore>catalog.xml</ignore>
<ignore>nbproject/</ignore>
<ignore>package.xml</ignore>
<ignore>readme.md</ignore>
<ignore>VERSION</ignore>
<changelog version="0.6.0">
- adjust to style changes required by PHP 5.3 and switch to Docblox
</changelog>
<changelog version="0.5.0" date="2012-04-03">
- switch PEAR channel to pear.bovigo.org (mikey)
</changelog>
<changelog version="0.4.1" date="2011-12-12">
- fix dir roles (mikey)
</changelog>
<changelog version="0.4.0" date="2011-11-04">
- adjust to changes introduced with PHP_CodeSniffer 1.3.0, raise minimum
version requirement (mikey)
</changelog>
<changelog version="0.3.0" date="2010-03-17">
- raise required PHP_CodeSniffer version to 1.2.2, remove
recommended_version (mikey)
</changelog>
<changelog version="0.2.4" date="2009-09-16">
- fix E_NOTICE in stubFileEqualsClassCommentSniff (mikey)
</changelog>
<changelog version="0.2.3" date="2009-07-13">
- allow vfs as valid class name prefix (mikey)
</changelog>
<changelog version="0.2.2" date="2009-01-26">
- fixed bug: missing @author comment lead to warning about discouraged
usage of the @author tag (mikey)
</changelog>
<changelog version="0.2.1" date="2009-01-26">
- fixed bug: allow numbers in camel caps class names (rist, mikey)
- split class name camel case checking so that errors and warnings are
more precise about the concrete problem (mikey)
- added warning if class name contains two following capital letters
(may become an error in a later version) (mikey)
</changelog>
<changelog version="0.2.0" date="2009-01-06">
- discouraged usage of @author comment (as warning, will become an error
in a later version) (mikey)
- added check for @version comment (optional, will become required in a
later version) (mikey)
- implemented enhancement #184: allow single line block comments of type
"/* @var $foo SomeClass */" (mikey)
- fixed bug #178: multiline function call not recognized correctly (mikey)
</changelog>
<changelog version="0.1.0" date="2008-09-26">
- fixed class name alerts for camel caps (rist, mikey)
- allow // ignoreCodeCoverageStart/End around classes (rist)
- upgrade sniffs to comply with PHP_CodeSniffer 1.1 (rist)
</changelog>
<changelog version="0.0.1" date="2008-09-25">
Initial release.
</changelog>
</d51pearpkg2>
</target>
</project>