UniFormal / MMT

The MMT Language and System
https://uniformal.github.io/
Other
68 stars 23 forks source link

python-mmt is not published upon `publishLocal` leading to unresolved dependency errors in SBT #437

Open ComFreek opened 5 years ago

ComFreek commented 5 years ago

Fix for endusers below

System 1 (issue applicable)

System 2 (issue not applicable, python-mmt is published simultaneously to mmt)

Steps to reproduce:

  1. cd <mmt-repo>/src
  2. sbt
    1. mmt/deploy
    2. publishLocal
  3. python-mmt is not published locally! E.g. try referencing "info.kwarc.mmt" %% "mmt" % "15.0.0" anywhere in a new build.sbt and compiling will fail due to unresolved "info.kwarc.mmt" % "python-mmt"

Fix (for endusers)

  1. Inside mmt/src, run sbt and then inside it python/publishLocal.
  2. It should now be published locally. Retry referencing it anywhere. You might need to issue reload inside open SBT instances or just simply rerun SBT altogether.

I know too little about SBT to be able to fix this inside MMT's build system on my own.