MakeCode für Lego Mindstorms EV3
b69af383a6
* Use learnings from touch events in Blockly and apply to the Ev3 sim. Register move and up events on the document rather than the individual element allowing users greater flexibility where they move their mouse once it's down. * Add mouse leave events |
||
---|---|---|
cmds | ||
docfiles | ||
docs | ||
editor | ||
fieldeditors | ||
legoresources | ||
libs | ||
scripts | ||
sim | ||
svgicons | ||
tests | ||
theme | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
jenkins.groovy | ||
jenkins.sh | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
pxtarget.json | ||
README.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.legoeducation.com
LEGO Auth: https://src.education.lego.com/groups/ev3-makecode (use Google Authenticator) LEGO Chat: https://chat.internal.education.lego.com/make-code/channels/town-square
Local Dev 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
In a common folder,
- clone https://github.com/Microsoft/pxt to
pxt
folder - clone https://github.com/Microsoft/pxt-common-packages to
pxt-common-packages
folder - clone https://github.com/Microsoft/pxt-ev3 to
pxt-ev3
folder - go to
pxt
and run
npm install
typings install
- 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
Jenkins build
https://ci2.dot.net/job/Private/job/pxt_project_rainbow/job/master/
License
MIT
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.