Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Merge pull request #102 from kevee/bower-dev
Browse files Browse the repository at this point in the history
Merge bower dev per issue #83
  • Loading branch information
Kevin Miller committed Dec 18, 2013
2 parents 36f20d1 + 4bf2dad commit 6ead2d4
Show file tree
Hide file tree
Showing 582 changed files with 1,766 additions and 13,210 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ examples/wysiwyg/editors/ckeditor4/*
node_modules/*
.grunt/*
dist/*
bower_components/*
lib/*
14 changes: 10 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ module.exports = function(grunt) {
add: true
},
src: ['dist/**']
},
bower: {
install: {

}
}
});
grunt.loadTasks('tasks');
Expand All @@ -105,19 +110,20 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-shell');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-gh-pages');
grunt.loadNpmTasks('grunt-bower-task');


// By default, just run tests
grunt.registerTask('default', ['convert', 'concat', 'jshint', 'buildGuideline', 'compressTestsJson', 'qunit']);
grunt.registerTask('default', ['bower:install', 'convert', 'concat', 'jshint', 'buildGuideline', 'compressTestsJson', 'qunit']);

// Build task.
grunt.registerTask('build', ['convert', 'concat', 'jshint', 'buildGuideline', 'compressTestsJson', 'uglify']);
grunt.registerTask('build', ['bower:install', 'convert', 'concat', 'jshint', 'buildGuideline', 'compressTestsJson', 'uglify']);

// Release task.
grunt.registerTask('release', ['convert', 'concat', 'jshint', 'qunit', 'buildGuideline', 'compressTestsJson', 'uglify', 'gh-pages']);
grunt.registerTask('release', ['bower:install', 'convert', 'concat', 'jshint', 'qunit', 'buildGuideline', 'compressTestsJson', 'uglify', 'gh-pages']);

// Test task.
grunt.registerTask('test', ['convert', 'concat', 'jshint', 'buildGuideline', 'compressTestsJson', 'qunit']);
grunt.registerTask('test', ['bower:install', 'convert', 'concat', 'jshint', 'buildGuideline', 'compressTestsJson', 'qunit']);

grunt.registerTask('publish', ['gh-pages']);
};
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://secure.travis-ci.org/kevee/quail.png?branch=master)](http://travis-ci.org/kevee/quail)

QUAIL: Accessibility Information Library
Quail: Accessibility Information Library
========================================

A jQuery plugin that lets you easily check HTML for adherence to accessibility standards. It comes with over 200 tests which implement Open Accessibility Tests and comes with WCAG 1.0, WCAG 2.0, and Section 508 guidelines.
Expand All @@ -9,6 +9,20 @@ Developers can build their own guidelines, or easily build a custom guideline th

**The project website is [quailjs.org](http://quailjs.org/).**

Building Quail
--------------
If you are not familiar with using grunt or just want to download a pre-built version of quail, [visit the releases page for the project](https://github.com/kevee/quail/releases).

If you are checking out quail from a repository, you will notice there is no `/dist` directory, quail must be built using [Grunt](http://gruntjs.com/). Use the following steps to get started (this is assuming you already have [Node](http://nodejs.org/) installed on your machine):

```
cd quail
npm install
grunt build
```

This does two things: it downloads libraries (like qunit and jQuery) into the `/lib` directory, and builds quail (both a development version and a minified, production version) into the `/dist` directory.

Documentation
-------------

Expand All @@ -21,10 +35,10 @@ Pull requests should be made against the **dev** branch, as master is only for t
Credits
-------

- QUAIL is maintained by [Kevin Miller](http://twitter.com/kevinmiyar)
- Part of QUAIL development is supported by [Cal State Monterey Bay](http://csumb.edu)
- Many thanks to [Jesse Renée Beach](https://twitter.com/jessebeach) for promoting QUAIL and the many commits.
- Thanks to the hosts of [Chez JJ](http://chezjj.com/), who housed Kevin for a week while he worked on QUAIL 2.
- Quail is maintained by [Kevin Miller](http://twitter.com/kevinmiyar)
- Part of Quail development is supported by [Cal State Monterey Bay](http://csumb.edu)
- Many thanks to [Jesse Renée Beach](https://twitter.com/jessebeach) for promoting Quail and the many commits.
- Thanks to the hosts of [Chez JJ](http://chezjj.com/), who housed Kevin for a week while he worked on Quail 2.

Legal
-----
Expand Down
15 changes: 15 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "quail",
"version": "2.1",
"main": "dist/quail.jquery.js",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"jquery": "~2.0.3",
"qunit": "~1.12.0",
"qunit-composite": "https://github.com/jquery/qunit-composite.git"
},
"devDependencies": {}
}
14 changes: 0 additions & 14 deletions libs/jquery-loader.js

This file was deleted.

Loading

0 comments on commit 6ead2d4

Please sign in to comment.