Skip to content

Utility to easily run webapp validation tests

License

MIT, GPL-2.0 licenses found

Licenses found

MIT
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

mittman/validate.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

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

License

MIT, GPL-2.0 licenses found

Licenses found

MIT
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages