From 25ce4b20a3141d8c3a476d9c39d482ba1a558c6e Mon Sep 17 00:00:00 2001 From: Reinhold Gschweicher Date: Mon, 5 Sep 2022 21:12:41 +0200 Subject: [PATCH] README: get sources before lv_font_conv install The build dependencies section says to install `lv_font_conv` to the source directory. But the instructions to download the InfiniSim sources was after the build dependencies. Move the "get sources" section before the "build dependencies" to clairify the instructions. Fixes: https://github.com/InfiniTimeOrg/InfiniSim/issues/53 --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index bba73fe..6951f01 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,20 @@ Or use it to develop new Watchfaces, new Screens, or quickly iterate on the user For a history on how this simulator started and the challenges on its way visit the [original PR](https://github.com/InfiniTimeOrg/InfiniTime/pull/743). +## Get the Sources + +Clone this repository and tell `git` to recursively download the submodules as well + +```sh +git clone --recursive https://github.com/InfiniTimeOrg/InfiniSim.git +``` + +If you've already cloned the repository without the submodules (or you want to update them to the latest checked in version) run the following command: + +```sh +git submodule update --init --recursive +``` + ## Build dependencies - CMake @@ -35,26 +49,12 @@ On Fedora the following packages are needed: sudo dnf install cmake SDL2-devel gcc ``` -Then install the `lv_font_conv` executable to the source directory (will be installed at `node_modules/.bin/lv_font_conv`) +Then install the `lv_font_conv` executable to the InfiniSim source directory (will be installed at `node_modules/.bin/lv_font_conv`) ```sh npm install lv_font_conv@1.5.2 ``` -## Get the Sources - -Clone this repository and tell `git` to recursively download the submodules as well - -```sh -git clone --recursive https://github.com/InfiniTimeOrg/InfiniSim.git -``` - -If you've already cloned the repository without the submodules (or you want to update them to the latest checked in version) run the following command: - -```sh -git submodule update --init --recursive -``` - ## Configure and Build In the most basic configuration tell cmake to configure the project and build it with the following two commands: