updated build notes
This commit is contained in:
27
README.md
27
README.md
@ -92,16 +92,6 @@ Note the above command assumes the folder structure of
|
|||||||
pxt pxt-common-packages pxt-microbit
|
pxt pxt-common-packages pxt-microbit
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building with CODAL locally
|
|
||||||
|
|
||||||
The following commands force a local build using CODAL.
|
|
||||||
|
|
||||||
```
|
|
||||||
export PXT_NODOCKER=1
|
|
||||||
pxt clean
|
|
||||||
pxt buildtarget --local
|
|
||||||
```
|
|
||||||
|
|
||||||
### Running
|
### Running
|
||||||
|
|
||||||
Run this command from inside pxt-microbit to open a local web server
|
Run this command from inside pxt-microbit to open a local web server
|
||||||
@ -128,6 +118,23 @@ Sometimes, your built folder might be in a bad state, clean it and try again.
|
|||||||
pxt clean
|
pxt clean
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Building with CODAL locally
|
||||||
|
|
||||||
|
The following commands force a local build using CODAL.
|
||||||
|
|
||||||
|
```
|
||||||
|
pxt buildtarget --local
|
||||||
|
```
|
||||||
|
|
||||||
|
To disable docker, run
|
||||||
|
|
||||||
|
```
|
||||||
|
export PXT_NODOCKER=1
|
||||||
|
```
|
||||||
|
|
||||||
|
If you are also modifiying CODAL, consider running ``pxt clean`` to ensure the proper branch is picked up.
|
||||||
|
|
||||||
### Updates
|
### Updates
|
||||||
|
|
||||||
Make sure to pull changes from all repos regularly. More instructions are at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
Make sure to pull changes from all repos regularly. More instructions are at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
||||||
|
Reference in New Issue
Block a user