Commit graph

7 commits

Author SHA1 Message Date
syl20bnr
c6e47c0306 core: rename doc-fmt to spacefmt 2016-05-27 00:32:05 -04:00
syl20bnr
7f07a965ad core: expand doc-fmt usage to any form of formatting
Add argument `action` as first positional argument, the second
positonal argument is for tests.

Add actions `doc` and `config`, doc works on org files and config works
on configuration file like packages.el.
The special action `all` performs all actions.

Move test files to `test` sub-folder.

Choose between `md5sum` and `md5` (on OS X) executables.

Add a new formatting function `move-packages-to-config` to move
package lists to config.el file.
2016-05-27 00:32:05 -04:00
JAremko
c1d4774d63 doc-fmt iterate until all is fixed
rm unused var

*POKED TRAVIS IN THE EYE*
2016-04-29 21:58:38 -04:00
syl20bnr
bdbe05e615 doc-fmt tool: fix typo 2016-04-12 23:24:28 -04:00
JAremko
b42cba0417 Upgrade doc-fmt
Add test mode: {repo-root}/core/tools/doc-fmt/run.bash test
  applies formatting only to {repo-root}/core/tools/doc-fmt/test.org

Use "gsed" if present.

Add new filters, refactor code.

test.org now represents most of the .org file formatting errors.
2016-04-12 23:19:07 -04:00
syl20bnr
749f0722b4 core: fix doc-fmt tool 2016-04-01 00:26:20 -04:00
syl20bnr
1f5b61969c Move doc-fmt to core/tools 2016-03-30 23:01:54 -04:00