microsoft / pxt-brainpad

Microsoft MakeCode editor for the GHI Brainpad
https://makecode.brainpad.com/
Other
3 stars 11 forks source link
makecode

GHI Electronics Brain Pad target for MakeCode

Build Status Community Discord

Local Dev setup

These instructions assume familiarity with dev tools and languages.

In a common folder,

npm install
jake
npm install
npm link ../pxt
npm install
npm link ../pxt
npm link ../pxt-common-packages

to run the local server

From root github folder,

cd pxt-brainpad
pxt serve --cloud

If you are editing C++, install [docker.com] and make sure your drive is shared.

pxt serve

to build and deploy a single package via command line

cd libs/core
pxt deploy

Updating CODAL dependency

Releasing the editor

The version served under / is controlled by /docs/index-ref.json. Change the version in that file and push to immediately update the version.

Each time you bump (using pxt bump) and the build passes, the /beta will point to that release. /beta can be used to test new features before pushing down the release to all users. The update is handled automatically by MakeCode afterwards.

Be careful when updating the version number of the editor, as MakeCode follows semver. In particular, do not change the major version unless you are releasing a completely new and incompatible editor.

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.