hacksalot
0829800b65
Move helpers to /helpers.
2016-01-09 22:13:29 -05:00
hacksalot
d7cfc76636
Promote console helpers has to console-helpers.js.
2016-01-09 22:11:06 -05:00
hacksalot
311030474d
Tests: Remove hard-coded version number.
2016-01-09 20:29:30 -05:00
hacksalot
ec69e668ff
Bump version to 1.5.3.
2016-01-09 20:21:17 -05:00
hacksalot
f18910f490
Generate ANALYZE console output from Handlebars template.
2016-01-09 20:18:56 -05:00
hacksalot
540ad48d61
Scrub.
2016-01-09 16:56:30 -05:00
hacksalot
540c745069
Exclude Emacs cruft.
2016-01-09 16:44:00 -05:00
hacksalot
c5b8eec33a
Move CLI-related assets to subfolder.
2016-01-09 16:14:28 -05:00
hacksalot
bece335a64
Fix CREATE verb output.
2016-01-09 15:58:39 -05:00
hacksalot
3aabb5028d
Continue moving logging out of core.
2016-01-09 15:49:08 -05:00
hacksalot
732bc9809a
Start moving logging out of core.
2016-01-09 13:58:47 -05:00
hacksalot
d77b484e55
Verbs are event emitters.
...
Let verbs source events through EventEmitter. Using aggregation is a bit
simpler here than extending because of the Resig "Class" stuff.
2016-01-09 08:12:55 -05:00
hacksalot
43564bf380
Update tests.
2016-01-09 06:44:47 -05:00
hacksalot
88c71f6e9c
Move commands to Verb hierarchy
...
Move flat command functions (BUILD, ANALYZE, etc.) to a shallow Verb
hierarchy. Allow command verbs to inherit common functionality and prep
for better debugging/logging as well as test mocks.
2016-01-09 06:44:22 -05:00
hacksalot
47e8605f50
Handle args in mock/passthrough case.
2016-01-09 05:30:12 -05:00
hacksalot
9466a8c0dd
Remove spawn-watch.
...
No longer necessary.
2016-01-09 05:29:45 -05:00
hacksalot
d878270bc6
Encapsulate CLI interface to ease testing.
...
Strip index.js down to its bare essentials, move primary logic to
main.js, and expose the latter via module.exports. This allows tests to
execute the same code path(s) HMR runs in production.
2016-01-08 19:22:44 -05:00
hacksalot
3b38c4818f
Bump version.
2016-01-08 18:56:07 -05:00
hacksalot
62c967526f
Fix PDF exception glitch.
2016-01-08 18:15:12 -05:00
hacksalot
6e5a44798b
Update README.
2016-01-08 16:36:19 -05:00
hacksalot
1fbfe2507b
Carry over debug flag.
2016-01-08 16:33:13 -05:00
hacksalot
d6a3aab68a
Make Handlebars options explicit.
2016-01-08 16:27:19 -05:00
hacksalot
9fdfd1b5a6
Add baseline support for -d or --debug flag.
...
For now, -d just force-emits the stack when there is one. In the future,
it can trigger more detailed logging info.
2016-01-08 16:08:33 -05:00
hacksalot
f4e763bd9c
Merge branch 'master' of https://github.com/hacksalot/HackMyResume
2016-01-08 12:28:45 -05:00
Antonio Ruberto
fbfff2a4e4
load theme partials for non html and doc
...
load global partials for html and doc only but load theme partials for
all outputs
2016-01-08 12:28:23 -05:00
hacksalot
1c93932737
Fix jsHint error.
2016-01-08 12:24:23 -05:00
hacksalot
cba29511bc
Analyze: fix coverage percentage glitch.
2016-01-08 12:20:51 -05:00
hacksalot
1d655a4ddb
Support duration units for JRS resumes.
2016-01-08 12:13:54 -05:00
hacksalot
ca94513630
Fix single format output error.
...
Fixes #97 .
2016-01-08 11:59:10 -05:00
hacksalot
971d4a5439
Update FAQ and README.
2016-01-08 11:48:10 -05:00
hacksalot
f3dcbd9081
Improve error vs. warning formatting.
...
Errors = red. Warnings = yellow.
2016-01-08 10:42:24 -05:00
hacksalot
29c53af843
Rename "invalidTarget" error to "invalidFormat".
2016-01-08 10:09:46 -05:00
hacksalot
8d24087faa
Rename src/gen --> src/generators.
2016-01-08 10:02:47 -05:00
hacksalot
95df8e5af4
Rename src/eng --> src/renderers
...
A renderer is a thing that renders or "paints" an arbitrary format using
a templating engine like Handlebars or Underscore. A generator is a
thing responsible for generating a given output format like HTML or MS
Word.
2016-01-08 09:59:47 -05:00
hacksalot
8a1da777b0
Bump version to 1.5.0.
2016-01-08 09:38:53 -05:00
hacksalot
44555da00f
Fix PNG output format for JSON Resume themes.
2016-01-08 09:36:32 -05:00
hacksalot
46bd5d51cc
Support implicit PDF generation (interim).
2016-01-08 09:00:43 -05:00
hacksalot
3964d300aa
Update README.
2016-01-08 08:59:43 -05:00
hacksalot
d6280e6d89
Start integrating JRS and FRESH rendering paths.
2016-01-08 08:40:19 -05:00
hacksalot
4a2a47f551
Tweak casing.
2016-01-08 07:08:12 -05:00
hacksalot
ae51930c9c
Tweak indentation.
2016-01-08 07:06:26 -05:00
hacksalot
fb33455bea
Refactor JRS rendering.
2016-01-08 06:48:04 -05:00
hacksalot
28c703daf7
Improve error handling: PDFs.
2016-01-08 05:11:38 -05:00
hacksalot
0246a5da19
Remove html-pdf-generator class.
...
PDF generation now performed via html-pdf-cli-generator.
2016-01-07 18:34:43 -05:00
hacksalot
840d17c67b
Wrap rasterize.js in IIFE / satisfy jsHint.
2016-01-07 18:33:26 -05:00
hacksalot
9f22e94cf7
Merge pull request #95 from aruberto/partials-fix
...
load theme partials for non html and doc
2016-01-07 18:30:54 -05:00
hacksalot
97ebecd84a
Support CLI-based PDF generation.
...
Support Phantom and wkhtmltopdf generation via CLI.
2016-01-07 18:24:25 -05:00
hacksalot
96b9bb68e3
Introduce Phantom.js rasterizer script.
...
Via
https://raw.githubusercontent.com/ariya/phantomjs/master/examples/rasterize.js .
2016-01-07 17:53:42 -05:00
hacksalot
c5a5d3761d
Remove explicit Phantom and wkhtmltopdf dependency.
...
Phantom is too heavy to impose on casual users and wkhtmltopdf errors
out on half the systems out there. We're better off speaking to both
tools, when present, via CLI or a secondary script.
2016-01-07 16:47:59 -05:00
Antonio Ruberto
c147403b1c
load theme partials for non html and doc
...
load global partials for html and doc only but load theme partials for
all outputs
2016-01-07 16:39:46 -05:00