Closed Keyn1 closed 3 years ago
Ну просто нужно вручную добавить зависимость, как сделано в примерах. Пакета пока нет в dub registry.
dub.json:
"dependencies": {
"beamui": {"path": "../beamui"},
"beamui:platforms": {"path": "../beamui"}
}
put "beamui" in C:\Dlang\beamui fix the file: dub.json
{ "authors": [ "Keyn" ], "copyright": "2020", "description": "a", "license": "proprietary", "name": "hellogui", "dependencies": { "beamui": {"path": "C:\Dlang\beamui"}, "beamui:platforms": {"path": "C:\Dlang\beamui"} } }
compilation is successful
git clone https://github.com/dayllenger/beamui.git -its OK but beamui is downloaded to the current folder, for example c:\dlang
now I have c:\Dlang\ dmd2\ beamui\
I do c:\DlangPrg>dub init hello beamui Couldn't find package: beamui
copy beamui -> C:\Dlang\dmd2\src\beamui Couldn't find package: beamui
Нужен хоть какой-нибудь хелп как этим вообще пользоваться.