- Java 43.3%
- HTML 39.3%
- Nix 14.8%
- Shell 1.7%
- JavaScript 0.9%
run
inf-run
For installation, see installation.md
Why java & selenium?
- selenium is more cross platform than playwright
- I need to learn java
I do not enjoy java, nor am i any good at it. But I find it necessary to learn for various reasons outside of my control. It is like the societal lock-in of services that we are forced to use, though maybe not quite that bad.
Okay I think it was a kind of bad idea to use java because it hasn't got great integration with stuff like nix but oh well. So right now, you have to build it manually and add ./infr to path, even in nixos. I am only using the nix flake for a dev shell.
Some tools which could be helpful (but i was unable to get working):
- https://github.com/raphiz/buildGradleApplication
- https://github.com/tadfisher/gradle2nix/tree/v2 note: v2
- https://github.com/NixOS/nixpkgs/blob/04a6eaac23e913f4d5e1151d1bc312f61c69ea8b/doc/languages-frameworks/gradle.section.md
Purpose
- To allow you to run
sb3files from the terminal with output. - To allow integration tests/unit tests for scratch projects (and by extension goboscript) e.g. in github actions
- To make a quick way to run sb3 files
NOT:
- To run goboscript programs (this is better handled by inf)
- To be resource light (this literally uses chromedriver because feature-complete non-(web)js scratch project runners don't exist)
- To be feature rich
This project should only serve a single command that you use in practice - run Project.sb3. That's it.
The only other planned feature is a tw-scaffolding version selector, but it's not really necessary since new releases are rare.