Add package dependencies with Mono-d or Visual-d

落花浮王杯 提交于 2019-12-14 03:59:57

问题


With dub I can do this in the dub.json file:

{
    "name": "myproject",
    "description": "A little web service of mine.",
    "authors": ["Peter Parker"],
    "homepage": "http://myproject.com",
    "license": "GPL-2.0",
    "dependencies": {
        "vibe-d": ">=0.7.11"
    }
}

What is the equivalent thing in Mono-D or Visual-D?


回答1:


I've never used VisualD, but in Mono-D you can just create a project from a dub package descriptor - just create your package.json and select it in the open project dialogue. Adding stuff to the package.json later should cause the project to reload automatically.



来源:https://stackoverflow.com/questions/27572547/add-package-dependencies-with-mono-d-or-visual-d

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!