You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an often case of mine that I need to write some standalone test programs that I don't want them to be in the source directory. Therefore, I want to be able to write/run test program outside the source directory.
Motivation
I have written a tensor library my self at tonyfettes/torch.mbt, and now I want to try my tensor library to build a model, and train it on the infamous iris dataset.
I don't want any code related to the iris model to be inside the src directory since they are totally unrelated to the implementation of the tensor library.
Detailed Description
I want to be able to develop MoonBit program with such project structure,
Feature Request
Summary
It's an often case of mine that I need to write some standalone test programs that I don't want them to be in the source directory. Therefore, I want to be able to write/run test program outside the source directory.
Motivation
I have written a tensor library my self at tonyfettes/torch.mbt, and now I want to try my tensor library to build a model, and train it on the infamous iris dataset.
I don't want any code related to the iris model to be inside the
src
directory since they are totally unrelated to the implementation of the tensor library.Detailed Description
I want to be able to develop MoonBit program with such project structure,
with some extra properties such as:
@test
or@test/iris
package. They should be internal/private.Circumvents
"source": "src"
in themoon.mod.json
, and move the test directory tointernal/test
.src/internal/test
.Possible Implementations
Provided an extra option to set
"test-directory"
, for example:Allow multiple directory to be used as "source directory", for example:
Treat any directory that is not the source directory as internal package.
Related Issues
Checklist
The text was updated successfully, but these errors were encountered: