Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit e9c7ac6

Browse files
committed
added css lint
1 parent 02b2183 commit e9c7ac6

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

build.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project name="Jumph" default="build">
33
<property name="toolsdir" value="bin/" />
44
<target name="build"
5-
depends="prepare,copy-parameters,bower,composer,lint,phploc-ci,pdepend,phpmd-ci,phpcs-ci,phpcpd-ci,phpunit,phpdox"
5+
depends="prepare,copy-parameters,bower,composer,csslint,lint,phploc-ci,pdepend,phpmd-ci,phpcs-ci,phpcpd-ci,phpunit,phpdox"
66
description=""/>
77

88
<target name="build-parallel"
@@ -68,6 +68,16 @@
6868
</exec>
6969
</target>
7070

71+
<target name="csslint" description="Run the CSSLint tool on CSS files">
72+
<fileset dir="${basedir}/src" id="cssfiles.raw">
73+
<include name="**/*.css" />
74+
</fileset>
75+
<pathconvert pathsep=" " property="cssfiles.clean" refid="cssfiles.raw" />
76+
<exec executable="csslint" output="${basedir}/build/logs/csslint.xml">
77+
<arg line="--warnings=box-model,floats --errors=ids,important --format=lint-xml ${cssfiles.clean}" />
78+
</exec>
79+
</target>
80+
7181
<target name="lint" description="Perform syntax check of sourcecode files">
7282
<apply executable="php" failonerror="true">
7383
<arg value="-l" />

src/Jumph/Bundle/AppBundle/Resources/public/css/jumph.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.search-form {
2-
padding: 10px 10px 0px 0px;
2+
padding: 10px 10px 0px 0px !important;
33
}
44

55
table th a.sortable {

0 commit comments

Comments
 (0)