w3c-nant

NAnt tasks library for W3C validation and more.

Latest version: 1.2.0, 2013-02-16

Links

NAnt Tasks included

validateHtml – validate HTML against online W3C services

Example:

    <validateHtml url="http://my-valid-page.com/" />

validateCss – validate CSS against online W3C services

Example:

    <validateCss
        url="http://my-valid-page.com/"
        profile="css3"
        vendorExtensionsAsWarnings="true"/>

ftpUpload – upload files to an FTP server

Example:

    <ftpUpload host="ftp.myserver.com" username="root" password="r00t" todir="/">
        <fileset basedir="dist">
            <include name="**/*" />
            <exclude name="**/*.config" />
        </fileset>
    </ftpUpload>

ftpDelete – delete a file on an FTP server

Example:

    <ftpDelete host="ftp.myserver.com" username="root" password="r00t"
        file="app_offline.htm" />

Leave a Reply