From: Cong Date: Wed, 26 Sep 2018 19:23:16 +0000 (+1000) Subject: Deploy windows binary (#422) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/913915d1b49c14f3f725360a10d0733c8abe9364?ds=sidebyside;pf=etc Deploy windows binary (#422) --- 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 +