Automate dev processing in GOland IDE

blov · 2017-11-09 01:00:37 · 767 次点击    
这是一个分享于 2017-11-09 01:00:37 的资源,其中的信息可能已经有所发展或是发生改变。

Hello, I'm currently developing a Go application for RaspberryPi. I'd like to cross compile the application in the IDE, deploy the executable into the device (SSH or FTP) and then start the application with delve. Currently I'm doing this manually, is there an automatic way in GOland IDE, so I can get a similar experience like Android app development?


评论:

callcifer:

Yes, you can specify GOOS and GOARCH in your run configuration to target different platforms. For uploading executables, read this guide, which applies to the entire Intellij platform.

gngeorgiev:

Yeah, it's called scripting.

E.g. bash, makefile etc.

callcifer:

How does that answer OP's question? They specifically asked for a way to do it inside the IDE with a similar experience to Android Studio.


入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

767 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传