1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 04:43:05 +03:00
css/docs/test.sh
2018-12-17 15:26:09 -08:00

16 lines
298 B
Bash
Executable File

#!/bin/bash
set -e
cwd=`pwd`
if [[ ! -e before.txt ]]; then
pushd ../../../github/styleguide/src/_primer > /dev/null
find . -name '*.md' > $cwd/before.txt
popd > /dev/null
fi
pushd pages/css > /dev/null
find . -name '*.md' > $cwd/after.txt
popd > /dev/null
diff before.txt after.txt