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:
parent
c7869fe701
commit
a7ed7989f1
10 changed files with 345 additions and 267 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue