Package and share an app¶
Packaging puts a finished app and the files it needs into a distributable layout. Publishing a package instead shares its Dream source for use by other projects.
Guides in this section¶
- CLI packagingBuild a relocatable executable for Windows, macOS, or Linux.
- Browser and NodeShip WebAssembly output for the browser or Node.
- Mobile librariesPackage Dream libraries as an iOS XCFramework or Android AAR.
- Native librariesBuild shared or static libraries from
@exportfunctions. - TLS and web serversServe HTTPS directly or behind a TLS proxy, and size the server for production.
- PublishingShare reusable Dream source through a package registry.
- RegistriesRun a private registry and understand package downloads.
- Options and troubleshootingPackaging options and fixes for common packaging problems.
Start with your own computer¶
Run these commands from a runnable project:
dreamer pack creates CLI output under target/pack/. It does not upload your app. See Packaging options and troubleshooting before building for another computer.
For reusable source packages, use Publishing.