mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Fix deploy.sh and python2 usage
This commit is contained in:
parent
b7df2f8732
commit
3fab9a8970
2
.github/deploy.sh
vendored
2
.github/deploy.sh
vendored
@ -24,7 +24,7 @@ rm -rf out/master/ || exit 0
|
|||||||
# Make the doc for master
|
# Make the doc for master
|
||||||
mkdir out/master/
|
mkdir out/master/
|
||||||
cp util/gh-pages/index.html out/master
|
cp util/gh-pages/index.html out/master
|
||||||
./util/export.py out/master/lints.json
|
python ./util/export.py out/master/lints.json
|
||||||
|
|
||||||
# Save the doc for the current tag and point current/ to it
|
# Save the doc for the current tag and point current/ to it
|
||||||
if [ -n "$TRAVIS_TAG" ]; then
|
if [ -n "$TRAVIS_TAG" ]; then
|
||||||
|
@ -21,15 +21,15 @@ This lint has the following configuration variables:
|
|||||||
|
|
||||||
# TODO: actual logging
|
# TODO: actual logging
|
||||||
def warn(*args):
|
def warn(*args):
|
||||||
print(*args)
|
print(args)
|
||||||
|
|
||||||
|
|
||||||
def debug(*args):
|
def debug(*args):
|
||||||
print(*args)
|
print(args)
|
||||||
|
|
||||||
|
|
||||||
def info(*args):
|
def info(*args):
|
||||||
print(*args)
|
print(args)
|
||||||
|
|
||||||
|
|
||||||
def parse_path(p="clippy_lints/src"):
|
def parse_path(p="clippy_lints/src"):
|
||||||
|
Loading…
Reference in New Issue
Block a user