From 913915d1b49c14f3f725360a10d0733c8abe9364 Mon Sep 17 00:00:00 2001 From: Cong Date: Thu, 27 Sep 2018 05:23:16 +1000 Subject: [PATCH] Deploy windows binary (#422) --- .appveyor.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 0e5582b..6dadfb3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -8,3 +8,19 @@ build: off test_script: - C:\Python36\python.exe tests/test_black.py - C:\Python36\python.exe -m mypy black.py blackd.py tests/test_black.py + +after_test: + - C:\Python36\python.exe -m pip install pyinstaller + - "%CMD_IN_ENV% C:\\Python36\\python.exe -m PyInstaller --clean -F --add-data blib2to3/;blib2to3 black.py" + +artifacts: + - path: dist/black.exe + +deploy: + provider: GitHub + description: '' + auth_token: + secure: caPP8BcGffPuTopDfdI4ZVKZkpD9l9UAcjO7rwm5/fFSMbsqh1v4S38nmMn4uSuD + on: + appveyor_repo_tag: true + -- 2.39.5