Uno is built using the command-line on Linux, macOS or Windows – or from Visual Studio 2022.
Our cross-platform build scripts are written in
bash
, andmake
is a convenient way to invoke build tasks. Bash is included in Git for Windows.
make
This will build uno
and standard library.
You can also try
npm run build
orbash scripts/build.sh
for similar results.
make install
uno --version
This will add your local-built uno
to PATH and print version information.
You can also try
npm link
or<uno-root>/bin/uno
for 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 Visual Studio 2022.
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
doctor
as parameter totool/uno
when launching from your IDE.
Run
<uno-root>/bin/uno doctor
.
Run
npm run uno doctor
.
Run
make lib
.