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. 5if 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 10else 11 echo Please run this command from the GN checkout root directory. 12fi 13