Skip to content

Commit eae1287

Browse files
author
Nicholas C. Zakas
committed
Merge fixes
2 parents 536e416 + 2ec2ebb commit eae1287

21 files changed

Lines changed: 881 additions & 1358 deletions

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
November 15, 2011 - v0.8.5
2+
3+
* Updated parser (fixes #206 and fixes #209) (Nicholas C. Zakas)
4+
* Removed extra file (Nicholas C. Zakas)
5+
16
October 25, 2011 - v0.8.1
27

38
* Updated parser and fixed CLI errors (fixes #203 and fixes #205) (Nicholas C. Zakas)

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ CSSLint is a tool to help point out problems with your CSS code. It does basic s
1616
1. Ben Barber (Compatible Vendor Prefix Rule)
1717
1. Eric Wendelin, http://eriwen.com (Output formatters)
1818
1. Kasper Garnaes, http://reload.dk (Checkstyle XML format)
19-
1. Gord Tanner, http://www.tinyhippos.com (CLI quiet option)
19+
1. Gord Tanner, http://www.tinyhippos.com (CLI quiet option)
20+
1. Hans-Peter Buniat, https://github.com/hpbuniat (Duplicate background image rule)
21+
1. Dino Chiesa, https://github.com/DinoChiesa (Windows Script Host CLI)

build.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project name="csslint" default="build.all">
22

33
<!-- version number -->
4-
<property name="csslint.version" value="0.8.1" />
4+
<property name="csslint.version" value="0.8.5" />
55

66
<!-- the directories containing the source files -->
77
<property name="src.dir" value="./src" />
@@ -30,6 +30,7 @@
3030
<property name="worker.build.file" value="csslint-worker.js"/>
3131
<property name="tests.build.file" value="csslint-tests.js"/>
3232
<property name="rhino.build.file" value="csslint-rhino.js"/>
33+
<property name="wsh.build.file" value="csslint-wsh.js"/>
3334

3435
<!-- embeddable license -->
3536
<loadfile property="license.text" srcfile="LICENSE" />
@@ -85,7 +86,7 @@
8586
<target name="lint">
8687
<fileset dir="${src.dir}" includes="**/*.js" id="jsfiles.raw"/>
8788
<pathconvert pathsep=" " property="jsfiles.clean" refid="jsfiles.raw" />
88-
<exec executable="java">
89+
<exec executable="java" failonerror="true">
8990
<arg line="-jar"/>
9091
<arg path="${lib.dir}/js.jar"/>
9192
<arg path="${lib.dir}/jshint.js" />
@@ -204,6 +205,14 @@
204205
</concat>
205206
</target>
206207

208+
<!-- build for WSH CLI integration -->
209+
<target name="build.wsh" depends="build.core">
210+
<concat destfile="${build.dir}/${wsh.build.file}" fixlastline="true">
211+
<filelist dir="${build.dir}" files="${core.build.file}" />
212+
<filelist dir="${src.dir}/cli" files="common.js,wsh.js" />
213+
</concat>
214+
</target>
215+
207216
<!-- Create a release with version number embedded -->
208217
<target name="release" depends="test,build.all,changelog.update">
209218
<delete dir="${release.dir}" />
@@ -228,6 +237,6 @@
228237
</target>
229238

230239
<!-- Build all files -->
231-
<target name="build.all" depends="clean,build.core,build.worker,build.node,build.tests,build.rhino"/>
240+
<target name="build.all" depends="clean,build.core,build.worker,build.node,build.tests,build.rhino,build.wsh"/>
232241

233242
</project>

demos/demo.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@namespace svg "http://www.w3.org/2000/svg";
99

1010
li.inline #foo {
11-
background: url("something.png");
11+
background: rgba(234, 212, 200, 0.5) url("something.png");
1212
display: inline;
1313
padding-left: 3px;
1414
padding-right: 7px;
@@ -40,4 +40,4 @@ li.last.first {
4040
font-size: 2em;
4141
content: counter(page);
4242
}
43-
}
43+
}

output.txt

Lines changed: 0 additions & 1049 deletions
This file was deleted.

0 commit comments

Comments
 (0)