diff --git a/PUBLISH.md b/PUBLISH.md deleted file mode 100644 index b85605dc3b31..000000000000 --- a/PUBLISH.md +++ /dev/null @@ -1,14 +0,0 @@ -Steps to publish a new Clippy version - -- Bump `package.version` in `./Cargo.toml` (no need to manually bump `dependencies.clippy_lints.version`). -- Write a changelog entry. -- Run `./pre_publish.sh` -- Review and commit all changed files -- `git push` -- Wait for Travis's approval. -- Merge. -- `cargo publish` in `./clippy_lints`. -- `cargo publish` in the root directory. -- `git pull`. -- `git tag -s v0.0.X -m "v0.0.X"`. -- `git push --tags`. diff --git a/pre_publish.sh b/pre_publish.sh deleted file mode 100755 index 3602f671e3de..000000000000 --- a/pre_publish.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -e - -./util/update_lints.py - -# add all changed files -git add . -git commit -m "Bump the version" - -set +e - -echo "Running \`cargo fmt\`.." - -cd clippy_lints && cargo fmt -- --write-mode=overwrite && cd .. -cargo fmt -- --write-mode=overwrite - -echo "Running tests to make sure \`cargo fmt\` did not break anything.." - -cargo test - -echo "If the tests passed, review and commit the formatting changes and remember to add a git tag." diff --git a/publish.files b/publish.files deleted file mode 100644 index 9ee50447f99e..000000000000 --- a/publish.files +++ /dev/null @@ -1,3 +0,0 @@ - M Cargo.toml - M CHANGELOG.md - M clippy_lints/Cargo.toml diff --git a/util/update_lints.py b/util/update_lints.py deleted file mode 100755 index 1800fa05c907..000000000000 --- a/util/update_lints.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python - -import sys - -def main(): - print('Error: Please use `util/dev` to update lints') - return 1 - -if __name__ == '__main__': - sys.exit(main())