From 9a0483d942aa51b7d5ecfe22c633dfa50f9c7414 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 18 Nov 2019 10:23:58 -0800 Subject: [PATCH] add build instructions --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c17f4d36..571e510e 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ cd .. ``` 6. Clone this repository. ``` -git clone https://github.com/microsoft/pxt-microbit +git clone https://github.com/microsoft/pxt-microbit-next cd pxt-microbit ``` 7. Install the PXT command line (add `sudo` for Mac/Linux shells). @@ -80,8 +80,8 @@ This step is only required if you intend to make changes to pxt and/or pxt-common-packages repos. If all you want is serve a local Makecode, you can skip this step. ``` -npm link ../pxt -npm link ../pxt-common-packages +pxt link ../pxt +pxt link ../pxt-common-packages ``` Note the above command assumes the folder structure of ``` @@ -92,6 +92,16 @@ Note the above command assumes the folder structure of 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 Run this command from inside pxt-microbit to open a local web server