Update UI_NEXT README

also cleanup some small things
This commit is contained in:
Hao Liu
2023-03-20 12:46:50 -04:00
parent cd6cb3352e
commit 5bd00adb59
3 changed files with 9 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
## UI_NEXT_DIR: Relative path to the directory containing this Makefile
UI_NEXT_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
# ## Path to your local clone of the UI_NEXT repo
# # NOTE: you will not be able to build within the docker-compose development environment if you use this option
## Path to your local clone of the UI_NEXT repo
# NOTE: you will not be able to build within the docker-compose development environment if you use this option
UI_NEXT_LOCAL ?=
# Git repo and branch to the UI_NEXT repo

View File

@@ -2,25 +2,27 @@
## Set src of the ui_next repo
### via GIT
### Via GIT
```bash
export UI_NEXT_GIT_BRANCH_REPO=https://<git repo>
export UI_NEXT_GIT_REPO=https://<git repo>
```
or
```bash
export UI_NEXT_GIT_BRANCH_REPO=git@<git repo>
export UI_NEXT_GIT_REPO=git@<git repo>
```
optionally set branch (default is main)
```bash
export UI_NEXT_GIT_BRANCH_BRANCH=main
export UI_NEXT_GIT_BRANCH=main
```
### via symlink to existing clone
### Via symlink to existing clone
NOTE: UI_NEXT_LOCAL have higher precedence than UI_NEXT_GIT_REPO, if UI_NEXT_LOCAL is set, UI_NEXT_GIT_REPO will be ignored.
```bash
export UI_NEXT_LOCAL = /path/to/your/ui_next