1
0
forked from GitHub/gf-core

Update scripts to use cabal v1-... so they work on newer cabal

Fixes build failures like https://github.com/GrammaticalFramework/gf-core/runs/2949099280?check_suite_focus=true
This commit is contained in:
Andreas Källberg
2021-06-30 14:33:03 +08:00
parent bb51224e8e
commit 4c5927c98c
2 changed files with 12 additions and 12 deletions

View File

@@ -6,24 +6,24 @@ VERSION=$(shell sed -ne "s/^version: *\([0-9.]*\).*/\1/p" gf.cabal)
all: build
dist/setup-config: gf.cabal Setup.hs WebSetup.hs
cabal configure
cabal v1-configure
build: dist/setup-config
cabal build
cabal v1-build
install:
cabal copy
cabal register
cabal v1-copy
cabal v1-register
doc:
cabal haddock
cabal v1-haddock
clean:
cabal clean
cabal v1-clean
bash bin/clean_html
gf:
cabal build rgl-none
cabal v1-build rgl-none
strip dist/build/gf/gf
html::