Brett Wilson | 1da84bb | 2022-09-14 15:35:29 -0700 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check for the existance of the AUTHORS file as an easy way to determine if | ||||
4 | # it's being run from the correct directory. | ||||
5 | if test -f "AUTHORS"; then | ||||
6 | echo Building gn... | ||||
7 | ninja -C out gn | ||||
8 | echo Generating new docs/reference.md... | ||||
9 | out/gn help --markdown all > docs/reference.md | ||||
10 | else | ||||
11 | echo Please run this command from the GN checkout root directory. | ||||
12 | fi |