#!/usr/bin/env bash | |
# Copyright 2017 The Fuchsia Authors | |
# | |
# Use of this source code is governed by a MIT-style | |
# license that can be found in the LICENSE file or at | |
# https://opensource.org/licenses/MIT | |
for h2md in ./build-*/tools/h2md ; | |
do | |
echo $h2md | |
break; | |
done | |
find system/ -name \*.h -or -name \*.c -or -name \*.cpp | xargs grep '//@doc(' -l | xargs $h2md -v |