98se.css/test.sh

13 lines
178 B
Bash
Raw Normal View History

2020-04-21 22:27:18 -04:00
#!/bin/sh
npm run build
2020-04-22 14:02:00 -04:00
output=$( git diff build docs )
2020-04-21 22:27:18 -04:00
if [ -z "$output" ]
then
break
else
2020-04-22 10:46:20 -04:00
echo "Please commit the latest build of 98.css (git commit)"
2020-04-21 22:27:18 -04:00
exit 1;
fi