xref: /third_party/gn/tools/update_reference.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/gn/tools/
16d528ed9Sopenharmony_ci#!/bin/sh
26d528ed9Sopenharmony_ci
36d528ed9Sopenharmony_ci# Check for the existance of the AUTHORS file as an easy way to determine if
46d528ed9Sopenharmony_ci# it's being run from the correct directory.
56d528ed9Sopenharmony_ciif test -f "AUTHORS"; then
66d528ed9Sopenharmony_ci    echo Building gn...
76d528ed9Sopenharmony_ci    ninja -C out gn
86d528ed9Sopenharmony_ci    echo Generating new docs/reference.md...
96d528ed9Sopenharmony_ci    out/gn help --markdown all > docs/reference.md
106d528ed9Sopenharmony_cielse
116d528ed9Sopenharmony_ci    echo Please run this command from the GN checkout root directory.
126d528ed9Sopenharmony_cifi
13

Indexes created Thu Nov 07 10:32:03 CST 2024