...

Text file src/github.com/in-toto/in-toto-golang/scripts/verify-docs.sh

Documentation: github.com/in-toto/in-toto-golang/scripts

     1#!/usr/bin/env bash
     2
     3set -e
     4
     5# Verify that generated Markdown docs are up-to-date.
     6tmpdir=$(mktemp -d)
     7go run main.go gendoc --dir "$tmpdir"
     8echo "###########################################"
     9echo "If diffs are found, run: go run main.go gendoc"
    10echo "###########################################"
    11diff -Naur "$tmpdir" doc/

View as plain text