Cabal Multiple Executables

前端 未结 1 1972
挽巷
挽巷 2021-02-20 06:19

I\'m working on a website using Yesod I have the normal build running but I can\'t seem to populate my database reliably. I have a second haskell program that populates the data

1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-20 06:49

    You can manage multiple executables by passing them as arguments to cabal build and cabal run. For example, cabal build init. The first executable is the default if no target name is given.

    0 讨论(0)
提交回复
热议问题