Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8534137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:07:30+00:00 2026-06-11T10:07:30+00:00

With an old version of go I could configure the build command in geany

  • 0

With an old version of go I could configure the build command in geany as

go install "%d"

But it seems that in Go1 you cannot provide to go install the absolute path.

So I’d like to have a command enabling me in geany to run

go install mypackagename

when my edited file is

/some/path/to/my/project/go/src/mypackagename/editedfile.go

What can I put in the settings to obtain that ?

Please consider that I’m a linux noob and that there may exist a trivial solution using a combination of standard shell commands.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:07:32+00:00Added an answer on June 11, 2026 at 10:07 am

    I would try something like

    cd "%d" && go install
    

    It changes the current working directory to the directory supplied by geany and
    runs go install if the directory change was successful.

    This only works if geany is executing the build commands in a shell. Without that,
    there’s no cd (the shell provides it as an inbuilt command) and this solution won’t work.

    Your only hope then is, to configure the current working dir for the build process in geany.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my old version of TortiseSVN ( version 1.6) I could enable, a feature
I am updating an old project that used an old version of cjson to
I've managed to compile (without errors) fluidsynth library that uses pthreads in old version
In the old version of IIS Manager, I could just right-click on a VD,
We are using very old version of spring 2.0.6 in our code, We were
For the old version xcode/ios, I used: appDelegate =(AppDelegate *)[[UIApplication sharedApplication] delegate]; to access
i got an webserver running and old version of gambio (xt:commerce fork). The error_log
I am trying to use an old version of the Recaptcha Validator on a
I've recently done a migration from a really old version of some application to
I just upgrade to Xcode 4.3.1 For the old version of Xcode, it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.