Makefile 499 B

1234567891011121314151617
  1. IVORY_REPO ?= ../../../ivory
  2. default:
  3. cabal build
  4. create-sandbox:
  5. cabal sandbox init
  6. cabal sandbox add-source $(IVORY_REPO)/ivory
  7. cabal sandbox add-source $(IVORY_REPO)/ivory-artifact
  8. cabal sandbox add-source $(IVORY_REPO)/ivory-serialize
  9. cabal sandbox add-source $(IVORY_REPO)/ivory-stdlib
  10. cabal sandbox add-source $(IVORY_REPO)/ivory-opts
  11. cabal sandbox add-source $(IVORY_REPO)/ivory-backend-c
  12. cabal install --enable-tests --dependencies-only
  13. test:
  14. cabal run -- --src-dir=codegen-out