Automate dev processing in GOland IDE

blov · · 549 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello, I&#39;m currently developing a Go application for RaspberryPi. I&#39;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&#39;m doing this manually, is there an automatic way in GOland IDE, so I can get a similar experience like Android app development? </p> <hr/>**评论:**<br/><br/>callcifer: <pre><p>Yes, you can specify <code>GOOS</code> and <code>GOARCH</code> in your <a href="https://i.imgur.com/2k5yDsH.png" rel="nofollow">run configuration</a> to target different platforms. For uploading executables, read <a href="https://www.jetbrains.com/help/idea/uploading-and-downloading-files.html" rel="nofollow">this guide</a>, which applies to the entire Intellij platform.</p></pre>gngeorgiev: <pre><p>Yeah, it&#39;s called scripting.</p> <p>E.g. bash, makefile etc.</p></pre>callcifer: <pre><p>How does that answer OP&#39;s question? They specifically asked for a way to do it inside the IDE <em>with a similar experience to Android Studio</em>.</p></pre>

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

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