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 14:03, 2 December 2010
No change in size
,
14:03, 2 December 2010
→Lint files before commiting
Line 41:
Line 41:
To add pre-commit git hook to lint files before commiting to arbitrary project:
To add pre-commit git hook to lint files before commiting to arbitrary project:
−
ln -s ''<full-install-path>''/
sugar/lint
/git-pre-commit-hook ''<project-root>''/.git/hooks/pre-commit
+
ln -s ''<full-install-path>''/
sugar_lint
/git-pre-commit-hook ''<project-root>''/.git/hooks/pre-commit
== Additional syntax ==
== Additional syntax ==
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits