Add multi-root bundle support across the toolchain: - `compile`: Accept multiple definition names via `-x NAME` (repeatable or comma-separated). Exports all requested definitions as named roots in a single bundle. Defaults to "main" when no names are given. - `export`: Accept comma-separated hashes in the positional argument and multiple `-n`/`names` flags. Exports all resolved roots in one bundle. - Server: Add `GET /bundle/roots?n=...&h=...` endpoint that resolves multiple stored-term names and/or raw Merkle hashes, returning a single bundle containing all of them as roots. - Wire: Export `defaultExportNames` helper for generating default export names when none are supplied. - Drop `cereal` dependency from `tricu.cabal` (no longer used).
133 lines
2.2 KiB
Plaintext
133 lines
2.2 KiB
Plaintext
cabal-version: 1.12
|
|
|
|
name: tricu
|
|
version: 1.1.0
|
|
description: A language for exploring Tree Calculus
|
|
author: James Eversole
|
|
maintainer: james@eversole.co
|
|
copyright: James Eversole
|
|
license: ISC
|
|
license-file: LICENSE
|
|
build-type: Simple
|
|
extra-source-files:
|
|
README.md
|
|
|
|
executable tricu
|
|
main-is: Main.hs
|
|
hs-source-dirs:
|
|
src
|
|
default-extensions:
|
|
DeriveDataTypeable
|
|
LambdaCase
|
|
MultiWayIf
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
ghc-options:
|
|
-Wall
|
|
-Wcompat
|
|
-Wunused-imports
|
|
-Wunused-top-binds
|
|
-Wunused-local-binds
|
|
-Wunused-matches
|
|
-Wredundant-constraints
|
|
-threaded
|
|
-rtsopts
|
|
-with-rtsopts=-N
|
|
-optl-pthread
|
|
-fPIC
|
|
build-depends:
|
|
base >=4.7
|
|
, aeson
|
|
, ansi-terminal
|
|
, base16-bytestring
|
|
, base64-bytestring
|
|
, bytestring
|
|
, cmdargs
|
|
, containers
|
|
, cryptonite
|
|
, directory
|
|
, exceptions
|
|
, filepath
|
|
, fsnotify
|
|
, haskeline
|
|
, http-types
|
|
, megaparsec
|
|
, memory
|
|
, mtl
|
|
, servant
|
|
, sqlite-simple
|
|
, stm
|
|
, tasty
|
|
, tasty-hunit
|
|
, text
|
|
, time
|
|
, transformers
|
|
, wai
|
|
, warp
|
|
, zlib
|
|
other-modules:
|
|
ContentStore
|
|
Eval
|
|
FileEval
|
|
Lexer
|
|
Parser
|
|
Paths_tricu
|
|
REPL
|
|
Research
|
|
Server
|
|
Wire
|
|
default-language: Haskell2010
|
|
|
|
test-suite tricu-tests
|
|
type: exitcode-stdio-1.0
|
|
main-is: Spec.hs
|
|
hs-source-dirs: test, src
|
|
default-extensions:
|
|
DeriveDataTypeable
|
|
LambdaCase
|
|
MultiWayIf
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
build-depends:
|
|
base >=4.7
|
|
, aeson
|
|
, ansi-terminal
|
|
, base16-bytestring
|
|
, base64-bytestring
|
|
, bytestring
|
|
, cmdargs
|
|
, containers
|
|
, cryptonite
|
|
, directory
|
|
, exceptions
|
|
, filepath
|
|
, fsnotify
|
|
, haskeline
|
|
, http-types
|
|
, megaparsec
|
|
, memory
|
|
, mtl
|
|
, servant
|
|
, sqlite-simple
|
|
, stm
|
|
, tasty
|
|
, tasty-hunit
|
|
, text
|
|
, time
|
|
, transformers
|
|
, warp
|
|
, wai
|
|
, zlib
|
|
default-language: Haskell2010
|
|
other-modules:
|
|
ContentStore
|
|
Eval
|
|
FileEval
|
|
Lexer
|
|
Parser
|
|
Paths_tricu
|
|
REPL
|
|
Research
|
|
Server
|
|
Wire
|