Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the thing to build on a windows command line #121

Closed
wants to merge 2 commits into from
Closed

Get the thing to build on a windows command line #121

wants to merge 2 commits into from

Conversation

RightFootConsulting
Copy link

@RightFootConsulting RightFootConsulting commented Jan 3, 2024

So my first impression was WTH it only builds on Linux? But it turns out it was easy enough to address the fact that some of us are too cheap to buy MacOs computers for our company but not so cheap that we want to not have a widely adopted operating system with an inside track on hardware vendors. Also we don't want to develop with Docker slamming our CPU, plus those guys have gotten super money hungry lately so I don't use them anymore particularly when it's totally unnecessary.

Cross platform is the whole point of GO.

Then I realized that the scaffold files were not being copied out to new projects when run in windows.
You need to use an OS specific path for the target file but you don't need to do that for the embedded FS, so I fixed that too.

Now I can run the build as follows on the windows command line:

go build .

then I can run the executable as

./pushup.exe ../my_project

And it works.

@gedw99
Copy link

gedw99 commented Apr 1, 2024

hey @paulsmith can you review this and commit it ?
I can test on Windows arm64 from here...

@RightFootConsulting are you on on windows amd64 ?

@RightFootConsulting RightFootConsulting closed this by deleting the head repository Apr 27, 2024
@RightFootConsulting
Copy link
Author

RightFootConsulting commented Nov 10, 2024

@gedw99
I am on Windows 11.

WindowsVersion
)

@gedw99
Copy link

gedw99 commented Nov 11, 2024

Hey @RightFootConsulting

I don’t think that this repo is still alive as no commit trajectory or response to issues .

if you looking for a golang htmx that has similar patterns as this htmgo is alive and well :)

https://htmgo.dev/

https://github.com/maddalax/htmgo

it has a code generator / cli that parses the golang to gen the router . Is also has examples . There is a html to htmx converter too.

I am using it every day and active there .

@RightFootConsulting
Copy link
Author

@gedw99 Thanks for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants