These instructions assume familiarity with dev tools and languages.
In a common folder,
pxt
folderpxt-common-packages
folderpxt-brainpad
folderpxt
and runnpm install
jake
pxt-common-packages
and runnpm install
npm link ../pxt
pxt-brainpad
and runnpm install
npm link ../pxt
npm link ../pxt-common-packages
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
cd libs/core
pxt deploy
pxtarget.json
at https://github.com/Microsoft/pxt-brainpad/blob/master/pxtarget.json#L203 pxt clean
pxt buildtarget
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.
pxt udpdate
to pick any updates to the PXT enginepxt bump
to create a new release (say vX.Y.Z
)/beta
. You can check the version number in the bottom of the home screen is vX.Y.Z
. Remember that it will update the background and load after a dozen of seconds or so.pxt tag index vX.Y.Z
, and commit /docs/index-ref.json
if successfull. This command does some routine checks to make sure everything is ok.MIT
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.