1
0
mirror of https://github.com/docker/cli.git synced 2025-08-31 23:02:07 +03:00

Update the README

Remove referenced to developing on the host, we shouldn't support it.

Move script/validate to scripts/validate to be consistent.
Set the default target to be binary instead of clean.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin
2017-05-14 13:24:10 -04:00
parent a408fb0a61
commit 60b2dd3e23
10 changed files with 32 additions and 42 deletions

16
scripts/validate/check-git-diff Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
set -eu
DIFF_PATH=$1
if [ "`git status --porcelain -- $DIFF_PATH 2>/dev/null`" ]; then
echo
echo "These files were changed:"
echo
git status --porcelain -- $DIFF_PATH 2>/dev/null
echo
exit 1
else
echo "$DIFF_PATH is correct"
fi;