Ich habe thusly ein Projekt strukturiert:Wie verwendet man Geschwister Stack-Projekte?
- proj/
- subproj1/
- stack.yaml
- subproj1.cabal
- ...
- subproj2/
- stack.yaml
- pkg1/
- ...
- pkg2/
- ...
- ...
Und meine SubProj1/stack.yaml Datei enthält diese:
packages:
- .
- location: ../subproj2
subdirs:
- pkg1
- pkg2
extra-dep: true
ich inkonsequent Build Verhalten bin zu bemerken, wenn „-Stack Build "aus dem Verzeichnis subproj1/. Und ich frage mich, ob ich meine Projektstruktur von Natur aus instabil aufgestellt habe. Wäre es beispielsweise stabiler, eine einzelne Datei stack.yaml zu verwenden, die sich im Verzeichnis proj/ befindet?
In Verbindung stehend? https://github.com/commercialhaskell/stack/issues/2545 – dbanas