restructure agora-scripts modules

In order to allow reusing this code in the future, I've made it so that
Agora-specific code all lives in `Main`, and everything else lives in
`ScriptExport` or other non-Agora modules.
This commit is contained in:
Emily Martins 2022-06-23 19:54:34 +02:00
parent c7869fe701
commit a7ed7989f1
10 changed files with 345 additions and 267 deletions

View file

@ -232,14 +232,14 @@ benchmark agora-bench
executable agora-scripts
import: lang, deps, exe-opts
main-is: Scripts.hs
main-is: Main.hs
hs-source-dirs: agora-scripts
other-modules:
API
Codec.Serialise.Orphans
Data.Cache.Cached
Options
Types
ScriptExport.API
ScriptExport.Options
ScriptExport.Types
build-depends:
, agora