File tree 2 files changed +3
-4
lines changed 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,12 @@ before_build:
76
76
- rmdir /Q /S dist-newstyle
77
77
78
78
build_script :
79
- - echo packages:. > cabal.project
80
- - cabal configure --allow-newer --ghc-options="-Werror"
81
79
- cabal %CABOPTS% build -j all --ghc-options="-Werror"
82
80
# Build from sdist if required.
83
81
- ps : >-
84
82
If ($env:PKG_TEST -Match "yes") {
85
83
cabal sdist
86
- echo "packages: dist-newstyle/sdist/*.tar.gz" | Out-File -Encoding ASCII cabal.project
84
+ ((Get-Content -path cabal.project -Raw) -replace "packages: .", "packages: dist-newstyle/sdist/*.tar.gz") | Set-Content -Path cabal.project
87
85
cat cabal.project
88
- cabal configure --allow-newer --ghc-options="-Werror"
89
86
cabal $env:CABOPTS build -j pkg:Win32 --ghc-options="-Werror"
90
87
}
Original file line number Diff line number Diff line change
1
+ packages : .
2
+ https://hackage.haskell.org/package/filepath-1.4.99.3/candidate/filepath-1.4.99.3.tar.gz
You can’t perform that action at this time.
0 commit comments