mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 20:53:21 +00:00
Merge pull request #1109 from Manishearth/setup-gh-pages
Fix deploy.sh and python2 usage
This commit is contained in:
commit
46ad7d00a2
2 changed files with 4 additions and 4 deletions
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 a new issue