Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

validate.sh

Utility to easily run webapp validation tests

Getting Started

In the development directory, create .webapp containing the path to each file

html=("index.html" "about.html")
css=("style.css")
js=("js/app.js" "server.js")
json=("db.json")
list="jshint jsonlint csslint tidy whitespace stylish"

Tests

  • csslint --- CSS validator
  • jshint --- Javascript validator
  • jsonlint --- JSON validator
  • tidy --- HTML validator
  • whitespace (built-in) --- white-space validator
  • stylish (built-in) --- programming style validator

NodeJS

  • Add to package.json
  "scripts": {
    "test": "/path/to/validate.sh"
  },
  • $ npm test

Copyright and License

Copyright © 2016 mittman

validate.sh is dual licensed under the MIT (aka X11) and GPLv2 licenses.

About

Utility to easily run webapp validation tests

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages