Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private Repo Access #163

Open
skilesare opened this issue Nov 1, 2023 · 3 comments
Open

Private Repo Access #163

skilesare opened this issue Nov 1, 2023 · 3 comments

Comments

@skilesare
Copy link

I tried to add a private repo to my project and it seems that it can't find it:

afat@virusbook ICRC3 % mops install          
Installing https://github.com/skilesare/StableWriteOnly.mo [          ]
Error: failed to download from GitHub: https://github.com/skilesare/StableWriteOnly.mo/archive/master.zip

Will it be possible to add these in the future?

@ZenVoich
Copy link
Owner

ZenVoich commented Nov 2, 2023

I'm not sure about adding such functionality in the near future, seems like a special case to me.

Maybe local packages could be useful for this case?

[dependencies]
local-pkg = "../my-pkg"

@skilesare
Copy link
Author

skilesare commented Nov 2, 2023 via email

@skilesare
Copy link
Author

I take that back. It seems that it will work for building with DFX, but the motoko type(v0.14.2) checker in visual studio barfs

My mops entry is

mypackage = "../mypackage"

Error:
file "/mypackage/src" (for package mypackage) does not existMotoko(M0012)

I'll try to update my plugin and see if maybe it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants