Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Platform Team/Sugar Lint
(view source)
Revision as of 07:35, 5 July 2010
3 bytes added
,
07:35, 5 July 2010
→Usage
Line 26:
Line 26:
sugar-lint -r .
sugar-lint -r .
−
To add pre-commit git hook to lint files before commiting arbitrary project:
+
To add pre-commit git hook to lint files before commiting
to
arbitrary project:
ln -s ''<local-path>''/sugar/lint/git-pre-commit-hook ''<project-root>''/.git/hooks/pre-commit
ln -s ''<local-path>''/sugar/lint/git-pre-commit-hook ''<project-root>''/.git/hooks/pre-commit
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits