Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed CRLF issue for Node.js

  • Loading branch information...
commit ff17048e91ab6c9d61950b31401405028a14c19f 1 parent 83ed025
Nicholas C. Zakas authored
View
8 build.xml
@@ -1,7 +1,7 @@
<project name="csslint" default="all">
<!-- version number -->
- <property name="csslint.version" value="0.3.0" />
+ <property name="csslint.version" value="0.3.1" />
<!-- the directories containing the source files -->
<property name="src.dir" value="./src" />
@@ -98,11 +98,15 @@
<mkdir dir="${build.npm.dir}/lib"/>
<copy file="${npm.dir}/package.json" todir="${build.npm.dir}"/>
<concat destfile="${build.npm.dir}/cli.js" fixlastline="true">
- <header trimleading="yes">#!/usr/bin/env node</header>
+ <header trimleading="yes">#!/usr/bin/env node
+ /* Build time: ${RIGHT_NOW} */
+ </header>
<filelist dir="${src.dir}/cli" files="util.js,node.js" />
</concat>
<copy file="${build.dir}/${node.build.file}" todir="${build.npm.dir}/lib"/>
+ <!-- CRLF will cause Node version to break -->
+ <fixcrlf srcdir="${build.dir}" includes="**/*" eol="lf" />
</target>
<!-- build the tests into a single file -->
View
2  build/csslint-node.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
/*!
Parser-Lib
Copyright (c) 2009-2011 Nicholas C. Zakas. All rights reserved.
View
2  build/csslint-rhino.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
var CSSLint = (function(){
/*!
Parser-Lib
View
2  build/csslint-worker.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
/*!
Parser-Lib
Copyright (c) 2009-2011 Nicholas C. Zakas. All rights reserved.
View
2  build/csslint.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
var CSSLint = (function(){
/*!
Parser-Lib
View
4 build/npm/cli.js
@@ -1,4 +1,6 @@
-#!/usr/bin/env node//print for rhino and nodejs
+#!/usr/bin/env node
+/* Build time: 26-June-2011 10:55:08 */
+//print for rhino and nodejs
if(typeof print == "undefined") {
var print = console.log;
}
View
2  build/npm/lib/csslint-node.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
/*!
Parser-Lib
Copyright (c) 2009-2011 Nicholas C. Zakas. All rights reserved.
View
2  build/npm/package.json
@@ -27,4 +27,4 @@
"type":"git",
"url":"http://github.com/stubbornella/csslint.git"
}
-}
+}
View
6 release/csslint-node.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
/*!
Parser-Lib
Copyright (c) 2009-2011 Nicholas C. Zakas. All rights reserved.
@@ -4756,7 +4756,7 @@ Tokens :Tokens
*/
var YUITest = {
- version: "0.3.0"
+ version: "0.3.1"
};
@@ -9317,7 +9317,7 @@ var CSSLint = (function(){
var rules = [],
api = new parserlib.util.EventTarget();
- api.version = "0.3.0";
+ api.version = "0.3.1";
//-------------------------------------------------------------------------
// Rule Management
View
6 release/csslint-rhino.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
var CSSLint = (function(){
/*!
Parser-Lib
@@ -4757,7 +4757,7 @@ Tokens :Tokens
*/
var YUITest = {
- version: "0.3.0"
+ version: "0.3.1"
};
@@ -9318,7 +9318,7 @@ var CSSLint = (function(){
var rules = [],
api = new parserlib.util.EventTarget();
- api.version = "0.3.0";
+ api.version = "0.3.1";
//-------------------------------------------------------------------------
// Rule Management
View
6 release/csslint-worker.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
/*!
Parser-Lib
Copyright (c) 2009-2011 Nicholas C. Zakas. All rights reserved.
@@ -4756,7 +4756,7 @@ Tokens :Tokens
*/
var YUITest = {
- version: "0.3.0"
+ version: "0.3.1"
};
@@ -9317,7 +9317,7 @@ var CSSLint = (function(){
var rules = [],
api = new parserlib.util.EventTarget();
- api.version = "0.3.0";
+ api.version = "0.3.1";
//-------------------------------------------------------------------------
// Rule Management
View
6 release/csslint.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
var CSSLint = (function(){
/*!
Parser-Lib
@@ -4757,7 +4757,7 @@ Tokens :Tokens
*/
var YUITest = {
- version: "0.3.0"
+ version: "0.3.1"
};
@@ -9318,7 +9318,7 @@ var CSSLint = (function(){
var rules = [],
api = new parserlib.util.EventTarget();
- api.version = "0.3.0";
+ api.version = "0.3.1";
//-------------------------------------------------------------------------
// Rule Management
View
4 release/npm/cli.js
@@ -1,4 +1,6 @@
-#!/usr/bin/env node//print for rhino and nodejs
+#!/usr/bin/env node
+/* Build time: 26-June-2011 10:55:08 */
+//print for rhino and nodejs
if(typeof print == "undefined") {
var print = console.log;
}
View
6 release/npm/lib/csslint-node.js
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* Build time: 25-June-2011 07:20:29 */
+/* Build time: 26-June-2011 10:55:08 */
/*!
Parser-Lib
Copyright (c) 2009-2011 Nicholas C. Zakas. All rights reserved.
@@ -4756,7 +4756,7 @@ Tokens :Tokens
*/
var YUITest = {
- version: "0.3.0"
+ version: "0.3.1"
};
@@ -9317,7 +9317,7 @@ var CSSLint = (function(){
var rules = [],
api = new parserlib.util.EventTarget();
- api.version = "0.3.0";
+ api.version = "0.3.1";
//-------------------------------------------------------------------------
// Rule Management
View
4 release/npm/package.json
@@ -1,6 +1,6 @@
{
"name": "csslint",
- "version": "0.3.0",
+ "version": "0.3.1",
"description": "CSSLint",
"author": "Nicholas C. Zakas",
"os": ["darwin", "linux"],
@@ -27,4 +27,4 @@
"type":"git",
"url":"http://github.com/stubbornella/csslint.git"
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.