Tidy up the top-level directory by moving misc. scripts into a subdirectory.
This commit is contained in:
@@ -27,7 +27,7 @@ done
|
||||
|
||||
# Update our local Cargo.lock (not checked in).
|
||||
cargo update
|
||||
./test-all.sh
|
||||
./scripts/test-all.sh
|
||||
|
||||
# Commands needed to publish.
|
||||
#
|
||||
@@ -23,7 +23,7 @@ function banner {
|
||||
# Run rustfmt if we have it.
|
||||
banner "Rust formatting"
|
||||
if cargo +stable fmt -- --version > /dev/null ; then
|
||||
if ! "$topdir/format-all.sh" --check ; then
|
||||
if ! "$topdir/scripts/format-all.sh" --check ; then
|
||||
echo "Formatting diffs detected! Run \"cargo fmt --all\" to correct."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user