| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This must have been satisfying
Sorry, something went wrong.
| package processing.app | ||
|
|
||
| import kotlin.io.path.createTempDirectory | ||
| import kotlin.test.Test | ||
| import kotlin.test.assertEquals | ||
|
|
||
| class SketchbookTest { |
There was a problem hiding this comment.
a test a test!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR aims to decouple Base.getSketchbookFolder() from all its dependencies
Previously the following was necessary to set up to be able to read the sketchbook folder:
With this PR, one can freely read Base.getSketchbookFolder() and all of the required initialisation will happen automatically. e.g.
It will also clean up the double reference to Processing's language files by just including them in the resources system.
I would prefer to use java's resources going forward and try to move away from the bundled folder.
In general there would need to be a push towards cleaning up the side-effects of a lot of these files but that is very much out of scope for now and this way I can continue building on top of the existing infrastructure.