Web/GoLang

[golang] goland 에서 makefile 동작하기

벨포트조던 2023. 1. 10.
반응형

요새 개발자들이 mac을 쓰다보니.. go window 설명이 많이 부족한듯

 

 

순서

1. GnuWin32 설치

2. goland의 makefile plugin 설치

3. goland 의 상단메뉴의 
File -> Setting -> Build, Execution, Deployment -> Build Tools -> Make 의 Path to Make executable 
을 GnuWin32 안에 make.exe로 변경한다.

필요하면  Use Cygwin 을 체크한다 ( 무슨동작인지 모름 걍 누름 ) 

이후 실행하니 잘 동작

 

1. Install GnuWin32 (Make for Windows).

2. Install the Makefile plugin.

3. Go to settings and specify the path to make: File | Settings | Build, Execution, Deployment | Make | Path to Make executable (by default: C:\Program Files (x86)\GnuWin32\bin\make.exe). Check "Use Cygwin" if necessary.

After that, run the make file and everything should work. Please note that you will not be able to use some utilities (for example grep) in configurations.

 

 

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000029230-Go-run-configuration-using-a-Makefile

반응형

댓글