Open callendorph opened 1 year ago
Thanks for the reply. We need to update our docs.
The build-test
option just compiles all of your inputs together with the Stanza testing framework so build a test executable. The normal build
target uses stanza compile
underneath the hood to build the executable. The build-test
target uses stanza compile-test
underneath the hood to build the executable.
In ocdb, there is a
build-test
used:https://github.com/JITx-Inc/open-components-database/blob/faa8696e0c5f2e88eab66d8bb23b25ac7fe7e4fd/stanza.proj#L36
There is no mention of this
build-test
option here:https://github.com/StanzaOrg/lbstanza/blob/master/docs/build-system.md
From looking through the code here: https://github.com/StanzaOrg/lbstanza/blob/20a07866a1b5cdb6f25111fd690c2afb7caf38d7/compiler/proj.stanza#L305
I don't know where
TestTarget
ever gets used.Can you help explain what the difference between
build
andbuild-test
are ?