2019-09-21 11:09:24 +00:00
|
|
|
steps:
|
|
|
|
- task: UsePythonVersion@0
|
|
|
|
inputs:
|
2019-11-02 20:25:12 +00:00
|
|
|
versionSpec: '3.7'
|
2019-09-21 11:09:24 +00:00
|
|
|
addToPath: true
|
|
|
|
|
|
|
|
- script: |
|
2019-09-21 11:23:45 +00:00
|
|
|
python --version
|
2019-09-21 11:09:24 +00:00
|
|
|
python -m pip install toml click
|
|
|
|
displayName: Installing python dependencies
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
python packager.py build
|
2019-09-21 11:46:00 +00:00
|
|
|
copy "target\\packager\\win\\espanso-win-installer.exe" "espanso-win-installer.exe"
|
2019-10-12 08:16:34 +00:00
|
|
|
copy "target\\packager\\win\\espanso-win-installer-sha256.txt" "espanso-win-installer-sha256.txt"
|
2019-09-21 11:09:24 +00:00
|
|
|
dir
|
2019-09-21 11:23:45 +00:00
|
|
|
displayName: "Build and packaging for Windows"
|
|
|
|
|