5
Last change
on this file since f97be09 was
f916fca,
checked in by Amar Takhar <amar@…>, on 01/18/16 at 22:53:44
|
Add support for spellchecking with a custom dictionary.
To use:
- Install aspell
- waf spell <list of files>
- waf spell mydoc.rst
- waf spell *.rst
This uses a custom dictionary stored in common/spell/dict/. We should add all
RTEMS and programming terms to this to ensure we are consistent.
Amar.
|
-
Property mode set to
100644
|
File size:
301 bytes
|
Line | |
---|
1 | from sys import path |
---|
2 | from os.path import abspath |
---|
3 | path.append(abspath('../common/')) |
---|
4 | |
---|
5 | from waf import cmd_options_path, cmd_configure_path, cmd_build_path, spell, cmd_spell |
---|
6 | |
---|
7 | |
---|
8 | def options(ctx): |
---|
9 | cmd_options_path(ctx) |
---|
10 | |
---|
11 | def configure(ctx): |
---|
12 | cmd_configure_path(ctx) |
---|
13 | |
---|
14 | def build(ctx): |
---|
15 | cmd_build_path(ctx) |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.