如何从 Github 构建项目?指示尚无定论
我知道这在技术上不是 Drupal 本身的问题,但我的问题已经在超级用户身上困扰了近一个月,所以我希望另一个 Drupal 用户可能已经这样做了......
我是使用 Komodo Edit 的 Drupal 开发人员作为一个IDE。我最近在 GitHub 上发现了一个项目,它将为 drupal API 添加自动完成功能到 Komodo 的语言选项中。我以前从未使用过 git,而且很困惑(事实上,我使用的是 Mac,而且也是新手,这并没有帮助......)任何人都可以帮助我吗?
每个项目页面的构建说明是:
git clone https://github.com/nevergone/drupalforkomodo.git 然后是 cd drupalforkomodo
如果 Komodo 安装在 /opt/komodo/, 然后构建命令: /opt/komodo/lib/sdk/bin/koext build
项目根目录包含: drupal-VERSION-ko.xpi
所以我能够获得该项目的克隆,但其余的超出了我的范围。如果我在运行 Linux 的家用计算机上执行此操作,那不会有问题,但 Mac 文件系统不同。 Komodo安装在我的Applications目录中,但我不知道lib/sdk/等在哪里,那么我如何完成接下来的两个步骤呢?
我确实在硬盘上找到了 Komodo 的实际安装 ->用户->我的用户->图书馆->应用支持-> KomodoEdit,但其中没有 lib/sdk 目录。有什么想法吗?
I know this isn't technically an issue with Drupal itself, but my question has been languishing on superuser for almost a month, so I was hoping another Drupal user might have already done this...
I'm a drupal developer using Komodo Edit as an IDE. I recently found a project on GitHub that would add autocomplete for the drupal API to Komodo's language options. I've never used git before and I'm confused (the fact that I'm on a Mac and new to that as well isn't helping...) Can anyone help me out?
The build instructions per the project page are:
git clone
https://github.com/nevergone/drupalforkomodo.git
followed by cd drupalforkomodoIf Komodo installed in /opt/komodo/,
then build command:
/opt/komodo/lib/sdk/bin/koext buildProject root directory contain:
drupal-VERSION-ko.xpi
So I was able to get a clone of the project, but the rest is beyond me. If I were doing this on my home machine running Linux it would be no problem, but the Mac file system is different. Komodo is installed in my Applications directory, but I have no idea where the lib/sdk/and so on is, so how do I complete the next two steps?
I did find the actual installation of Komodo at hardDrive -> Users -> myUser -> Library -> Application Support -> KomodoEdit, but there's no lib/sdk directory anywhere in there. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以直接从 http://community.activestate.com/ 下载 xpi文件/drupal-0.4.1-ko.xpi。现在您不必自己构建它。
现在转到首选项/代码智能并将 xpi 添加到 API 目录。
更多信息请访问:http://community.activestate.com/xpi/drupal-extension-科莫多龙
You can download the xpi directly from http://community.activestate.com/files/drupal-0.4.1-ko.xpi. Now you don't have to build it yourself.
Now go to Preferences / Code Intelligence and add the xpi to the API Catalog.
More information available here: http://community.activestate.com/xpi/drupal-extension-komodo