Setup
๐ ๏ธ Installationโ
Install Dependenciesโ
Run the following command to install all dependencies:
npm install
Install Hosanna Tools Globallyโ
npm install -g @tantawowa/hosanna-tools
Install Hosanna Compiler (HSC)โ
If you are compiling for Roku, Android-native, or Apple, ensure you have the Hosanna Compiler installed globally. Tantawowa Ltd will provide installation instructions upon registration.
๐ฅ๏ธ Development Workflowโ
Editing Codeโ
- Open Visual Studio Code.
- Install the Hosanna UI and BrightScript extensions.
- Open the
hosanna-ui.code-workspace
file.
Developer Processโ
Before committing changes, follow these steps:
-
Run the linter:
npm run lint
-
Run tests:
npm test
-
Commit changes: Use meaningful commit messages.
๐ Web Developmentโ
Simulatorโ
Use the web simulator for faster debugging:
- Launch the
[WEB]
task. This runs Vite and Hosanna Tools in watch mode to generate structs and other files.
๐ Documentationโ
Explore the docs
folder for detailed information:
- bridge: Hosanna Bridge documentation.
- list: Hosanna List documentation.
- ui: Hosanna UI framework documentation.
- transpiler: Transpiler usage documentation.