microsoft / pxt-maker

MakeCode target for "Maker" boards (beta)
https://maker.makecode.com/
Other
120 stars 82 forks source link

Is there a way to use a private repository for codalTarget? #279

Closed OpusK closed 4 years ago

OpusK commented 4 years ago

Hi,

Can I use a private repository with codalTarget's git repository? In yotta, "git + ssh" seems to play the role, but is there a way to do it in codal?

                "codalTarget": {
                    "name": "codal-nrf52840-dk",
                    "url": "https://github.com/mmoskal/codal-nrf52840-dk",
                    "branch": "v1.1.0",
                    "type": "git"
                },
pelikhan commented 4 years ago

Is this to build locally or to build in our cloud?

OpusK commented 4 years ago

Do the settings differ depending on the build location? I'm currently building locally.

pelikhan commented 4 years ago

Using a terminal with git credentials should work. Cloud build of private repoes require authorization on our part

OpusK commented 4 years ago

Thanks, @pelikhan :) I understood.