AlexandrSalin / golangide

Automatically exported from code.google.com/p/golangide
0 stars 0 forks source link

Building on windows filename issue #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling on windows 
exe file named incorrectly (the same as the folder)

"c:\testproject\golang\src.go" compiles "golang.exe"

Original issue reported on code.google.com by augustok...@gmail.com on 30 Sep 2013 at 5:41

GoogleCodeExporter commented 9 years ago
Which build button are you pressing? This sounds like the output for a build 
button set up to test packages.

If you want to build this file as src.exe you need something like

<action id="FileBuild" menu="FileRun" img="gray/filebuild.png" key="F6" 
cmd="$(GO)" args="build $(EDITOR_NAME)" save="editor" output="true" 
codec="utf-8" readline="true"/>

in the build specification file gosrc.xml found in 
\liteide\share\liteide\litebuild

(can be modified via top menu - select View>>options then in the options screen 
select LiteBuild then gosrc.xml

I've found similar issues - have attached a gosrcfile that has multiple options 
for building, running, running from goexec, and running built files. (Also I've 
added a "ListArgs" menu item to output common build parameter tokens.)

Using the attached gosrc.xml file use "filebuild" or "filerun" for individual 
files.

Original comment by xun...@gmail.com on 2 Dec 2013 at 3:33

Attachments: