98se.css/test.sh

13 lines
169 B
Bash
Raw Normal View History

2020-04-21 22:27:18 -04:00
#!/bin/sh
npm run build
output=$( git diff build )
if [ -z "$output" ]
then
break
else
echo "Build doesn't match, wanna run \`npm run build\`?"
exit 1;
fi