Skip to content

Commit

Permalink
Update to latest versions of csslint and jslint, close kmmbvnr#104
Browse files Browse the repository at this point in the history
  • Loading branch information
kmmbvnr committed Jul 5, 2012
1 parent f5e852e commit df6aaa7
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 5 deletions.
74 changes: 74 additions & 0 deletions MANIFEST
@@ -0,0 +1,74 @@
LICENSE
MANIFEST.in
README.rst
setup.py
django_jenkins/__init__.py
django_jenkins/functions.py
django_jenkins/models.py
django_jenkins/runner.py
django_jenkins/signals.py
django_jenkins/tests.py
django_jenkins/management/__init__.py
django_jenkins/management/commands/__init__.py
django_jenkins/management/commands/csslint.py
django_jenkins/management/commands/jenkins.py
django_jenkins/management/commands/jslint.py
django_jenkins/management/commands/jtest.py
django_jenkins/management/commands/lettuce.py
django_jenkins/management/commands/pep8.py
django_jenkins/management/commands/pyflakes.py
django_jenkins/management/commands/pylint.py
django_jenkins/management/commands/sloccount.py
django_jenkins/tasks/__init__.py
django_jenkins/tasks/dir_tests.py
django_jenkins/tasks/django_tests.py
django_jenkins/tasks/jslint_runner.js
django_jenkins/tasks/lettuce_tests.py
django_jenkins/tasks/pylint.rc
django_jenkins/tasks/run_csslint.py
django_jenkins/tasks/run_jslint.py
django_jenkins/tasks/run_pep8.py
django_jenkins/tasks/run_pyflakes.py
django_jenkins/tasks/run_pylint.py
django_jenkins/tasks/run_sloccount.py
django_jenkins/tasks/with_coverage.py
django_jenkins/tasks/with_local_celery.py
django_jenkins/tasks/csslint/release/csslint-rhino.js
django_jenkins/tasks/csslint/release/npm/cli.js
django_jenkins/tasks/jslint/jslint.js
tests/__init__.py
tests/__init__.pyc
tests/manage.py
tests/requirements.pip
tests/settings.py
tests/settings.pyc
tests/fixtures/default_users.json
tests/static/css/test.css
tests/static/js/test.js
tests/test_app/__init__.py
tests/test_app/__init__.pyc
tests/test_app/models.py
tests/test_app/models.pyc
tests/test_app/tests.py
tests/test_app/tests.pyc
tests/test_app/urls.py
tests/test_app/urls.pyc
tests/test_app/views.py
tests/test_app/features/example.feature
tests/test_app/features/example_steps.py
tests/test_app/features/example_steps.pyc
tests/test_app/migrations/0001_initial.py
tests/test_app/migrations/__init__.py
tests/test_app/static/css/test_errors.css
tests/test_app/static/js/test.js
tests/test_app/templates/404.html
tests/test_app/templates/500.html
tests/test_app/templates/test_app/wm_test_click.html
tests/test_app_dirs/__init__.py
tests/test_app_dirs/__init__.pyc
tests/test_app_dirs/models.py
tests/test_app_dirs/models.pyc
tests/test_app_dirs/tests/__init__.py
tests/test_app_dirs/tests/__init__.pyc
tests/test_app_dirs/tests/test_discovery_dir_tests.py
tests/test_app_dirs/tests/test_discovery_dir_tests.pyc
2 changes: 1 addition & 1 deletion MANIFEST.in
Expand Up @@ -5,5 +5,5 @@ include django_jenkins/tasks/pylint.rc
include django_jenkins/tasks/jslint/jslint.js
include django_jenkins/tasks/jslint_runner.js
include django_jenkins/tasks/csslint/release/csslint-rhino.js
include django_jenkins/tasks/csslint/release/csslint-node.js
include django_jenkins/tasks/csslint/release/npm/cli.js
recursive-include tests *
2 changes: 1 addition & 1 deletion django_jenkins/tasks/csslint
2 changes: 1 addition & 1 deletion django_jenkins/tasks/jslint
2 changes: 1 addition & 1 deletion django_jenkins/tasks/run_csslint.py
Expand Up @@ -49,7 +49,7 @@ def __init__(self, test_labels, options):
if 'rhino' in runner:
self.implementation = os.path.join(root_dir, 'csslint', 'release', 'csslint-rhino.js')
elif 'node' in runner:
self.implementation = os.path.join(root_dir, 'csslint', 'release', 'csslint-node.js')
self.implementation = os.path.join(root_dir, 'csslint', 'release', 'npm', 'cli.js')
else:
raise ValueError('No sutable css lint runner found for %s' % self.interpreter)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -43,5 +43,5 @@ def run(self):
'pylint (>=0.23)',
],
packages = ['django_jenkins', 'django_jenkins.management', 'django_jenkins.tasks', 'django_jenkins.management.commands'],
package_data={'django_jenkins': ['tasks/pylint.rc', 'tasks/jslint_runner.js', 'tasks/jslint/jslint.js', 'tasks/csslint/release/csslint-rhino.js', 'tasks/csslint/release/csslint-node.js']},
package_data={'django_jenkins': ['tasks/pylint.rc', 'tasks/jslint_runner.js', 'tasks/jslint/jslint.js', 'tasks/csslint/release/csslint-rhino.js', 'tasks/csslint/release/npm/cli.js']},
)

0 comments on commit df6aaa7

Please sign in to comment.