Skip to content
Snippets Groups Projects
Commit 8176b065 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[distrib] check ignored files before distrib

parent 6b92139e
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,16 @@ if [ "$VERSION" != "$OPAM_VERSION" ]; then ...@@ -60,6 +60,16 @@ if [ "$VERSION" != "$OPAM_VERSION" ]; then
exit 2 exit 2
fi fi
################################################################################
# Check that no versioned file is ignored
IGNORED_FILES="$(git ls-files --ignored --exclude-standard -c)"
if [ "" != "$IGNORED_FILES" ]; then
echo "Some versioned files are ignored by .gitignore:"
echo $IGNORED_FILES
exit 2
fi
################################################################################ ################################################################################
# Prepare archive # Prepare archive
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment