Skip to content
Myr

test-files.sh

This file

Path

scripts/test-files.sh

10 lines · 350 bytes · Shell

Last changed by

:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf

History of this file

Take it

:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf

lines 1–10why, one step back
1#!/usr/bin/env bash
23set -e4set -x56# Check README.md is up to date7diff --brief docs/index.md README.md8# Check copy paste errors in tutorials9if grep -r --include "*.md" "Usage: tutorial" ./docs ; then echo "Incorrect console demo"; exit 1 ; fi10if grep -r --include "*.md" "python tutorial" ./docs ; then echo "Incorrect console demo"; exit 1 ; fi