canvas-lms/config
Ryan Shaw d898232659 add a rake canvas:check_syntax task to check for js errors
you can pass quick=true to to disable style guideline
checks and only check for syntax errors.

this will also spit out javascript style warnings using
jshint and gjslint.  I have not nailed down exactly
which things we want to warn about, we can talk about
it and come to a consensus on what we care about. 
I do not necessarily think that we should
use both jshint and gjslint, I just put them both
in to show what kind of things they can check for.
in order to use gjslint, you need to install
it from http://code.google.com/closure/utilities/

Make your .git/hooks/pre-commit look like:
rake canvas:check_syntax:changed quick=true
to not allow committing js with syntax errors

Change-Id: Icfc21c2d30f60dc2fafef80d5c93432b6309afdb
Reviewed-on: https://gerrit.instructure.com/2908
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-04-20 08:07:30 -06:00
..
environments fix the mass assignment error raising option 2011-04-07 16:00:55 -06:00
initializers don't monkey patch attachment_fu when we have so many local mods already 2011-04-19 10:30:56 -06:00
locales Initial commit. 2011-01-31 18:57:29 -07:00
amazon_s3.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
assets.yml add a rake canvas:check_syntax task to check for js errors 2011-04-20 08:07:30 -06:00
boot.rb Initial commit. 2011-01-31 18:57:29 -07:00
collaborations.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
compass.config Initial commit. 2011-01-31 18:57:29 -07:00
cutycapt.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
database.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
database.yml.sqlite-example Initial commit. 2011-01-31 18:57:29 -07:00
delayed_jobs.yml.example allow configuring some dj worker options in the yml 2011-04-18 16:16:21 -06:00
domain.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
environment.rb sis import api 2011-04-08 15:45:57 -06:00
etherpad.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
external_migration.yml.example allow migrations to work across job servers 2011-02-07 15:07:49 -07:00
facebooker.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
file_store.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
google_docs.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
incoming_mail.yml.example Handle incoming mails. Closes #4016. 2011-04-07 10:46:11 -06:00
jslint.conf add a rake canvas:check_syntax task to check for js errors 2011-04-20 08:07:30 -06:00
linked_in.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
memcache.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
outgoing_mail.yml.example add support for using sendmail for outgoing mail, closes #3880 2011-02-23 08:41:50 -07:00
periodic_jobs.rb Handle incoming mails. Closes #4016. 2011-04-07 10:46:11 -06:00
preinitializer.rb update our preinitializer.rb 2011-03-24 09:39:15 -06:00
routes.rb Merge branch 'ims_cc' 2011-04-18 10:20:36 -06:00
saml.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
scribd.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
security.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
selenium.yml.example more selenium config options, and run the web server in-process 2011-02-22 10:37:29 -07:00
session_store.yml.example support redis for session store, refs #4051 2011-03-23 13:25:04 -06:00
tinychat.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
twitter.yml.example Initial commit. 2011-01-31 18:57:29 -07:00
zendesk.yml.example Initial commit. 2011-01-31 18:57:29 -07:00