[heycam/webidl] Add post-processor (#460)

Now that the deploy-script relies on node.js to test the grammar, adding an extra-step to get rid of the dynamic generation of the IDL grammar index and formatting isn't that complicated.

This is slit up in three commits: 

1. only uses post-processing for pr-preview (which makes it possible to have good HTML diffs of the grammar).
2. adds it to the deploy script, so the published spec no longer needs JS for content generation.
3. Adds-it to the Makefile (but defaults to dynamic generation if node isn't installed).
You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/460

-- Commit Summary --

  * Use post-processor in pr-preview
  * Add post-processing to deploy script
  * Add post-processing to Makefile

-- File Changes --

    M .pr-preview.json (5)
    M Makefile (20)
    M deploy.sh (1)
    M index.bs (5)
    M package.json (6)

-- Patch Links --

https://github.com/heycam/webidl/pull/460.patch
https://github.com/heycam/webidl/pull/460.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/460

Received on Sunday, 15 October 2017 13:49:34 UTC