mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +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
.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