hhvm / hh-apidoc

An API documentation generator for Hack files, which start with 'hh'.
MIT License
10 stars 7 forks source link

Use an (untyped) Hack script as the binary #38

Closed lexidor closed 4 years ago

lexidor commented 4 years ago

The README.md specifies that you should run the binary using hhvm. The binary is actually a shell script. This causes the following error:

The previous version gave this error and did not execute anything.
Fatal error: Uncaught Error: A semicolon (';') is expected here
 in /path/to/hh-apidoc/bin/hh-apidoc:2
Stack trace:
#0 {main}

I've cloned this style of binary from hhast.

lexidor commented 4 years ago

How to test

Run the instructions found in the README.