Ract for Makepad
create
- Create a Makepad project
Ract will build a Makepad project template based on the configuration entered by the user
create will help you check the current environment status
Interactive dialog example:
1❤️ WELOCME TO GENUI, ract is a build tool for you!
2
3> Which project you want to create? makepad
4> Project name: test1
5> Authors name: John
6> ...
7🎉 Your project has been created successfully!
run
- Run a Project
Run Makepad projects.
studio
- Launch Makepad Studio
Start Makepad Studio for GUI projects.
wasm
- Run WASM Project in Browser
Build and run a WASM project directly from the CLI.
Interactive dialog example:
1🥳 Welcome to use ract wasm!
2
3🔸 Port for the web studio 8888
4📦 wasm is being packaged
5🚀 wasm is being started...
6Starting webserver on 127.0.0.1:8888
pkg
- Package a Project
Package a project using cargo-packager
.
1# if is workspace
2cd /target/makepad/project
3
4ract pkg
Interactive dialog example:
1🥳 Welcome to use ract packager!
2
3🔸 gpiler will check and install `cargo-packager` if not present.
4🔸 Basic packaging configuration is auto-generated.
5? Select how to package the project: init
6🎉 Package resources have been generated!