xc-jp / purescript-protobuf

Google Protocol Buffers for PureScript

Home Page:http://pursuit.purescript.org/packages/purescript-protobuf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spago.dhall should be only library dependencies?

jamesdbrock opened this issue · comments

Maybe we rename

  • spago.dhallspago-dev.dhall
  • spago-library.dhallspago.dhall

Then all of the code-generation spago building would be prefixed with spago -x spago-dev.dhall.

When someone includes this purescript-protobuf package in their spago build, they generally want the runtime library dependencies, not the code generating dependencies. The dependency list on Pursuit would more acurately reflect the actual dependencies of the package.

We could also fold test.dhall into spago-dev.dhall.

Would this be a problem for tools like the VS code PureScript extension?

"purescript.buildCommand": "spago build --purs-args --json-errors",

Also delete psc-package.json and packages.json.

Done in v2.1.0