Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (62 sloc) 2.56 KB

Configuration

You can create or edit your local user config file using a text editor to configure your Uno environment. This file is located at ~/.unoconfig (%USERPROFILE%\.unoconfig on Windows).

Run uno config to review your current configuration.

Standard library

To work with fuselibs source code, add this snippet to your .unoconfig, after cloning the repo:

C:\> git clone https://github.com/fuse-open/fuselibs.git
if (DEV) {
    Packages.SourcePaths += `C:\fuselibs\Source`
}

(Replace C:\fuselibs\Source with your own location.)

The if (DEV) test makes sure we only use those packages when running uno built from source. If omitted, the packages are also made available to any installed versions of Fuse Studio and Uno, which might have unintended side-effects.

Run uno doctor to build your standard library.

Android

To support building Android apps, we need to know where your Android SDKs are installed. Running npm install -g android-build-tools will set this up automatically, or you can specify other locations as demonstrated below.

Windows

Android.NDK.Directory: `%LOCALAPPDATA%\Android\sdk\ndk-bundle`
Android.SDK.Directory: `%LOCALAPPDATA%\Android\sdk`
Java.JDK.Directory: `%PROGRAMFILES%\Java\jdk1.8.0_40`

macOS

Android.NDK.Directory: ~/Library/Android/sdk/ndk-bundle
Android.SDK.Directory: ~/Library/Android/sdk

iOS

To support building iOS apps, we need macOS and Xcode.

  • Cocoapods is required by some Uno packages.

This is usually automatically detected, but configuring a signing identity can be useful.

iOS.DeveloperTeam: ABCD012345

Native

To support building native apps, we need CMake and C++ compilers.

  • macOS: Xcode with command line tools
  • Windows: Visual Studio 2017

If cmake isn't in found your PATH, the location can be provided like this:

Tools.CMake: `%PROGRAMFILES%\CMake\bin\cmake.exe`

Node.js

We need Node.js to support transpiling FuseJS files to ES5.

If node isn't found in your PATH, the location can be provided like this:

Tools.Node: `%PROGRAMFILES%\nodejs\node.exe`

Package manager

Packages.Feeds += "https://www.packages.org/api/v2"
Packages.InstallDirectory: install/my/packages/here
Packages.SearchPaths += find/my/packages/here
Packages.SourcePaths += build/these/projects
You can’t perform that action at this time.