mirror of https://github.com/nodejs/node.git
28 lines
422 B
Bash
28 lines
422 B
Bash
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
|
|
./sub
|
|
./sub/include
|
|
./sub/include2
|
|
./sub/include4
|
|
./test.sh"
|
|
if [ "$x" != "$y" ]; then
|
|
echo "missing included files"
|
|
echo "got:"
|
|
echo "==="
|
|
echo "$x"
|
|
echo "==="
|
|
echo "wanted:"
|
|
echo "==="
|
|
echo "$y"
|
|
echo "==="
|
|
exit 1
|
|
fi
|