Auto merge of #4392 - phansch:cleanups, r=flip1995
Remove unused dev scripts/files 781794d4: Remove util/update_lints.py * This has been deprecated for ~10 months, so I think it's fine to remove now. 90a42937: Remove publishing things * Clippy is no longer published via crates.io, so these docs and the script are not needed anymore. changelog: none
This commit is contained in:
commit
b83dece263
14
PUBLISH.md
14
PUBLISH.md
@ -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`.
|
@ -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."
|
@ -1,3 +0,0 @@
|
||||
M Cargo.toml
|
||||
M CHANGELOG.md
|
||||
M clippy_lints/Cargo.toml
|
@ -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())
|
Loading…
x
Reference in New Issue
Block a user