6d222c50cb
* Update pxtarget.json Enable addNewTypeScriptFile so that you can split your code into multiple files. Enable blocksCollapsing to collapse blocks for convenience. Turn off highContrast it doesn't work now. We'll see later... * enable-errorlist-option * Update pxtarget.json Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> --------- Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com> |
||
---|---|---|
.github | ||
docfiles | ||
docs | ||
editor | ||
fieldeditors | ||
legoresources | ||
libs | ||
scripts | ||
sim | ||
svgicons | ||
tests | ||
theme | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
ev3.code-workspace | ||
LICENSE | ||
package.json | ||
pxtarget.json | ||
README.md | ||
SECURITY.md | ||
targetconfig.json | ||
THIRD-PARTY-NOTICES.txt | ||
TODO.md | ||
tslint.json |
LEGO® MINDSTORMS® Education EV3 for Microsoft MakeCode
This repo contains the editor target hosted at https://makecode.mindstorms.com
Local setup
These instructions assume familiarity with dev tools and languages.
-
install Node.js 8.9.4+
-
install Docker; make sure
docker
command is in yourPATH
-
(optional) install Visual Studio Code
-
clone https://github.com/Microsoft/pxt-ev3 to
pxt-ev3
folder -
go to
pxt
and run
npm install
- to run the local server,
pxt serve --cloud
Local Dev setup
In the common folder,
-
clone https://github.com/Microsoft/pxt to
pxt
folder -
clone https://github.com/Microsoft/pxt-common-packages to
pxt-common-packages
folder -
go to
pxt-common-packages
and run
npm install
npm link ../pxt
- go to
pxt-ev3
and run
npm install
npm link ../pxt
npm link ../pxt-common-packages
to run the local server
From root github folder,
cd pxt-ev3
pxt serve --cloud
to build and deploy a single package via command line
cd libs/core
pxt deploy
License
MIT
Trademarks
MICROSOFT, the Microsoft Logo, and MAKECODE are registered trademarks of Microsoft Corporation. They can only be used for the purposes described in and in accordance with Microsoft’s Trademark and Brand guidelines published at https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general.aspx. If the use is not covered in Microsoft’s published guidelines or you are not sure, please consult your legal counsel or the MakeCode team (makecode@microsoft.com).
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.