Uno is built using the command-line on Linux, macOS or Windows – or from inside an IDE.
Our cross-platform build scripts are written in
bash, andmakeis a convenient way to invoke build tasks. Bash is included in Git for Windows.
On Windows, we need vswhere to locate your Visual Studio installation. Please make sure we can find
vswherein%PATH%or at%PROGRAMFILES(x86)%\Microsoft Visual Studio\Installer.
make
This will build uno and standard library.
You can also try
npm run buildorbash scripts/build.shfor similar results.
make install
uno --version
This will add your local-built uno to PATH and print version information.
You can also try
npm linkor<uno-root>/bin/unofor similar results.
| Command | Description |
|---|---|
make lib |
Build projects in lib/ only (instead of a full build). |
make release |
Build in release configuration. |
make clean |
Remove build artifacts. |
make check |
Run test suite. |
| Command | Description |
|---|---|
npm pack |
Build package tarball. |
npm test |
Run test suite. |
npm version |
Increment version number. |
Open uno.sln in an IDE that supports C# (Visual Studio or JetBrains Rider?).
Make sure to set tool/uno as startup project when launching uno.
See also
disasm.sln(Windows only) andruntime.sln(multi-platform).
Try one of the following methods.
Pass
doctoras parameter totool/unowhen launching from your IDE.
Run
<uno-root>/bin/uno doctor.
Run
npm run uno doctor.
Run
make lib.