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 10:02, 17 October 2010
7 bytes added
,
10:02, 17 October 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 ''<
local
-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