[javascriptlint-commit] SF.net SVN: javascriptlint:[253] trunk
Status: Beta
Brought to you by:
matthiasmiller
From: <mat...@us...> - 2009-10-03 15:45:29
|
Revision: 253 http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=253&view=rev Author: matthiasmiller Date: 2009-10-03 15:45:19 +0000 (Sat, 03 Oct 2009) Log Message: ----------- Create a wrapper script to run jsl to make this Unix-friendly. Modified Paths: -------------- trunk/javascriptlint/__init__.py trunk/setup.py Added Paths: ----------- trunk/jsl Modified: trunk/javascriptlint/__init__.py =================================================================== --- trunk/javascriptlint/__init__.py 2009-10-03 15:41:59 UTC (rev 252) +++ trunk/javascriptlint/__init__.py 2009-10-03 15:45:19 UTC (rev 253) @@ -0,0 +1,3 @@ +# vim: ts=4 sw=4 expandtab +from jsl import main + Added: trunk/jsl =================================================================== --- trunk/jsl (rev 0) +++ trunk/jsl 2009-10-03 15:45:19 UTC (rev 253) @@ -0,0 +1,5 @@ +#!/usr/bin/python +# vim: ts=4 sw=4 expandtab +import javascriptlint +javascriptlint.main() + Property changes on: trunk/jsl ___________________________________________________________________ Added: svn:executable + * Added: svn:eol-style + native Modified: trunk/setup.py =================================================================== --- trunk/setup.py 2009-10-03 15:41:59 UTC (rev 252) +++ trunk/setup.py 2009-10-03 15:45:19 UTC (rev 253) @@ -10,24 +10,26 @@ else: library = 'js' pyspidermonkey = Extension( - 'pyspidermonkey', + 'javascriptlint.pyspidermonkey', include_dirs = ['spidermonkey/src', 'build/spidermonkey'], library_dirs = ['build/spidermonkey'], libraries = [library], sources = [ - 'pyspidermonkey/pyspidermonkey.c', - 'pyspidermonkey/nodepos.c' + 'javascriptlint/pyspidermonkey/pyspidermonkey.c', + 'javascriptlint/pyspidermonkey/nodepos.c' ] ) args = {} args.update( - name = 'pyjsl', + name = 'javascriptlint', version = '1.0', author = 'Matthias Miller', author_email = 'in...@ja...', url = 'http://www.javascriptlint.com/', description = 'JavaScript Lint', - ext_modules = [pyspidermonkey] + ext_modules = [pyspidermonkey], + packages = ['javascriptlint', 'javascriptlint.pyjsl'], + scripts = ['jsl'] ) try: import py2exe This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |