Build dhall-json with lts-6 in appveyor (#818)

This commit is contained in:
Javier Neira 2019-02-16 00:09:35 +01:00 committed by Gabriel Gonzalez
parent e3dde9dfa7
commit e8d4b78a3f
3 changed files with 4 additions and 6 deletions

View File

@ -34,9 +34,8 @@ build_script:
- if /I "%APPVEYOR_REPO_TAG%" EQU "true" (set DEPLOY_TAG=%APPVEYOR_REPO_TAG_NAME%) else (set DEPLOY_TAG=%APPVEYOR_REPO_COMMIT:~0,5%)
- set DEPLOY_SUFFIX=%DEPLOY_TAG%-x86_64-windows.zip
- 7z a "bin\dhall-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall.exe"
# dhall-json cannot be built with lts-6
- if exist "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-json.exe" ( 7z a "bin\dhall-json-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-json.exe" )
- if exist "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-yaml.exe" ( 7z a "bin\dhall-json-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-yaml.exe" )
- 7z a "bin\dhall-json-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-json.exe"
- 7z a "bin\dhall-json-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-yaml.exe"
- 7z a "bin\dhall-text-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-text.exe"
- 7z a "bin\dhall-bash-%DEPLOY_SUFFIX%" "%APPVEYOR_BUILD_FOLDER%\bin\dhall-to-bash.exe"

View File

@ -2,8 +2,7 @@ resolver: lts-6.27
packages:
- dhall
- dhall-bash
# dhall-json uses ApplicativeDo
# - dhall-json
- dhall-json
- dhall-text
extra-deps:
- ansi-terminal-0.7.1.1

View File

@ -1,4 +1,4 @@
resolver: lts-13.3
resolver: lts-13.5
packages:
- dhall
- dhall-bash