1234567891011121314151617181920212223242526 |
- IVORY_REPO ?= ../ivory
- default:
- cabal build
- clean-sandbox:
- -rm -rf .cabal-sandbox
- -rm cabal.sandbox.config
- -rm -rf dist
- create-sandbox:
- cabal sandbox init
- cabal sandbox add-source $(IVORY_REPO)/ivory-artifact
- cabal install --dependencies-only
- test: haskell-backend-test
- haskell-backend-test:
- cabal run gidl -- -b haskell -i tests/example.idl -o tests/gidl-haskell-backend-test -p gidl-haskell-backend-test -n Gidl.Haskell.Test
- make -C tests/gidl-haskell-backend-test create-sandbox
- make -C tests/gidl-haskell-backend-test
- make -C tests/gidl-haskell-backend-test test
- haskell-backend-test-clean:
- -rm -rf tests/gidl-haskell-backend-test
|