Skip to content

Commit

Permalink
ファイルの存在チェックを行う
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Jul 16, 2018
1 parent 16968c6 commit b937f0e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions appveyor_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,16 @@ def main():
appveyor.printAll()

file = r"appveyor_env.py"
print (appveyor.getBlobURL(file))
print (appveyor.getBlobURLWithLine(file, 1))
print (appveyor.getBlobURLWithLines(file, 9, 15))
if os.path.exists(file):
print (appveyor.getBlobURL(file))
print (appveyor.getBlobURLWithLine(file, 1))
print (appveyor.getBlobURLWithLines(file, 9, 15))

file = r"sakura\preBuild.bat"
print (appveyor.getBlobURL(file))
print (appveyor.getBlobURLWithLine(file, 1))
print (appveyor.getBlobURLWithLines(file, 9, 15))
if os.path.exists(file):
print (appveyor.getBlobURL(file))
print (appveyor.getBlobURLWithLine(file, 1))
print (appveyor.getBlobURLWithLines(file, 9, 15))

if __name__ == '__main__':
main()

0 comments on commit b937f0e

Please sign in to comment.