diff options
| author | TitanSnow <[email protected]> | 2017-05-20 15:11:36 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-05-20 15:33:18 +0800 |
| commit | 9d7fb55705906dd6965101e5a4f4f77e9d288f5c (patch) | |
| tree | bdf51814df58fee590d5c58a3738aa1e31101927 | |
| parent | 435bb391e6c434b3f0df4ca8957edf6401ec6fa6 (diff) | |
use dos2unix to fix newline problem on _xmake_main.lua
| -rw-r--r-- | appveyor.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml index 39969eb76..89c0e1fd6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,6 +29,10 @@ build_script: - cmd: core\build\xmake lua versioninfo - ps: Write-Output "require('luacov.runner').init({['statsfile']='$PWD/luacov.stats.out',['reportfile']='$PWD/luacov.report.out'})".replace('\','/') | Out-File tmp - ps: Write-Output (Get-Content xmake\core\_xmake_main.lua | Out-String) | Out-File tmp -Append + - ps: Invoke-Webrequest 'https://svwh.dl.sourceforge.net/project/dos2unix/dos2unix/7.3.4/dos2unix-7.3.4-win32.zip' -OutFile dos2unix.zip + - ps: Expand-Archive dos2unix.zip + - cmd: dos2unix\bin\dos2unix tmp + - ps: Remove-Item -Recurse dos2unix,dos2unix.zip - ps: Move-Item -Force tmp xmake\core\_xmake_main.lua - ps: Copy-Item -Force core\build\xmake.exe $HOME\xmake - cmd: xmake lua tests\test.lua |
