mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
454 B
29 lines
454 B
x=`find . | grep ignore | grep -v npmignore`
|
|
if [ "$x" != "" ]; then
|
|
echo "ignored files included: $x"
|
|
exit 1
|
|
fi
|
|
|
|
x=`find . | grep -v ignore | sort`
|
|
y=".
|
|
./include4
|
|
./package.json
|
|
./README
|
|
./sub
|
|
./sub/include
|
|
./sub/include2
|
|
./sub/include4
|
|
./test.sh"
|
|
y="`echo "$y" | sort`"
|
|
if [ "$x" != "$y" ]; then
|
|
echo "missing included files"
|
|
echo "got:"
|
|
echo "==="
|
|
echo "$x"
|
|
echo "==="
|
|
echo "wanted:"
|
|
echo "==="
|
|
echo "$y"
|
|
echo "==="
|
|
exit 1
|
|
fi
|
|
|